Skip to content

#0795df

a balanced, electric blue · cool · closest name: Dodger Blue

RGB
7, 149, 223
HSL
201°, 94%, 45%
CMYK
97, 33, 0, 13
Luminance
0.2687

At a glance

Every number on this page in one read: what #0795df is made of, how bright it looks, and which way it leans.

Hex
#0795df
Hue
201°
blue
Saturation
94%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2687
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.37:1
Closest name
Dodger Blue
ΔE2000 6.2
Where it sits
Hue201° of 360°
Saturation94%
Lightness45%
Temperature
Warm ← → Cool96% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#0795df
RGBrgb(7, 149, 223)
HSLhsl(201, 94%, 45%)
CMYKcmyk(97%, 33%, 0%, 13%)
LABlab(58.9 -5.9 -46.6)
LCHlch(58.9 46.9 262.7)
OKLCHoklch(0.642 0.150 241.9)
Decimal497119
Display P3color(display-p3 0.027 0.584 0.875)

Copy-ready code

/* CSS */
color: #0795df;
background-color: #0795df;
/* Tailwind (arbitrary) */
class="text-[#0795df] bg-[#0795df]"
/* SCSS */
$brand: #0795df;
/* SwiftUI */
Color(red: 0.027, green: 0.584, blue: 0.875)
/* Android */
Color.parseColor("#0795df")
/* Flutter */
Color(0xFF0795DF)
/* Python / OpenCV (BGR) */
(223, 149, 7)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #0795df · 6.37:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.29:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.37:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #0795df as text scores 3.29:1 on white and 6.37:1 on black.

Accessibility — WCAG contrast

Aa
#0795df on white: 3.29:1
AA ✗ fail · AA-large · AAA
Aa
#0795df on black: 6.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7197E2
deuteranopia · #5586DE
tritanopia · #00A7B0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0795df is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F2F9FD
#E4F3FB
#C2E7FA
#92D7FC
#5CC4FA
#25B0F8
#0795df
#0684C6
#056A9E
#084E72
#053147
Base = 600Lightest = 50 · #F2F9FDDarkest = 950 · #053147
:root {
  --brand-50: #F2F9FD;
  --brand-100: #E4F3FB;
  --brand-200: #C2E7FA;
  --brand-300: #92D7FC;
  --brand-400: #5CC4FA;
  --brand-500: #25B0F8;
  --brand-600: #0795df;
  --brand-700: #0684C6;
  --brand-800: #056A9E;
  --brand-900: #084E72;
  --brand-950: #053147;
  --brand: #0795df;
  --brand-ink: #000000;
}

Colors that work with #0795df

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F8FA
Tinted page background
Border#C0DDED
Hairlines and dividers
Muted text#4B7F9B
Captions on the surface
Accent#E41702
Second voice, not a rival
Dark variant#04537C
Hover, pressed, headers
Light variant#E6F6FE
Selected rows, tints
Dark surface#141F24
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #0795df

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#DF5107
Analogous left#07DFBD
Analogous right#0729DF
Split-complement 1#DF0729
Split-complement 2#DFBD07
Triadic 1#DF0795
Triadic 2#95DF07
Tetradic#BD07DF

RGB percentages

Red2.7%
Green58.4%
Blue87.5%

CMYK percentages

Cyan96.9%
Magenta33.2%
Yellow0.0%
Key (black)12.5%

Color previews

#0795df text on a black background

contrast 6.37:1

Card sample

#0795df text on a white background

contrast 3.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0795df;
Background color
Panel with #0795df background
background-color: #0795df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0795df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(7, 149, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 149, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0795df;
background: linear-gradient(135deg, #0795df, #0907DF);

Monochromatic scale

Palettes built from #0795df

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#0795df in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#0795df, answered

What color is #0795df?

#0795df is a balanced electric blue, closest to Dodger Blue (ΔE2000 6.2). It sits at 201° on the hue wheel with 94% saturation and 45% lightness, which reads as cool.

What is the RGB value of #0795df?

rgb(7, 149, 223) — 7 red, 149 green and 223 blue out of 255, or 2.7% / 58.4% / 87.5% by channel.

Is #0795df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2687 and perceived brightness is 54%, so black text on it reaches 6.37:1.

Should I use black or white text on #0795df?

Black. It scores 6.37:1 against #0795df, versus 3.29:1 for white — AA at any size.

What is the complementary color of #0795df?

#DF5107 sits directly opposite on the wheel. Softer options are the split-complements #DF0729 and #DFBD07, which give the same contrast with far less vibration.

What colors go well with #0795df?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B7F9B for secondary text, #E41702 as an accent and #04537C for hover and pressed states. For a palette, the analogous pair #07DFBD and #0729DF stays calm, while #DF5107 is the loudest partner.

What is #0795df in CMYK for printing?

cmyk(97%, 33%, 0%, 13%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #0795df warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #07DFDA; nudged cooler, #0474C8.

Work with #0795df in the Color Lab