Skip to content

#0591df

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

RGB
5, 145, 223
HSL
202°, 96%, 45%
CMYK
98, 35, 0, 13
Luminance
0.2561

At a glance

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

Hex
#0591df
Hue
202°
blue
Saturation
96%
electric
Lightness
45%
dark
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2561
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.12:1
Closest name
Dodger Blue
ΔE2000 5.3
Where it sits
Hue202° of 360°
Saturation96%
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#0591df
RGBrgb(5, 145, 223)
HSLhsl(202, 96%, 45%)
CMYKcmyk(98%, 35%, 0%, 13%)
LABlab(57.7 -3.7 -48.4)
LCHlch(57.7 48.6 265.7)
OKLCHoklch(0.632 0.154 243.8)
Decimal365023
Display P3color(display-p3 0.020 0.569 0.875)

Copy-ready code

/* CSS */
color: #0591df;
background-color: #0591df;
/* Tailwind (arbitrary) */
class="text-[#0591df] bg-[#0591df]"
/* SCSS */
$brand: #0591df;
/* SwiftUI */
Color(red: 0.020, green: 0.569, blue: 0.875)
/* Android */
Color.parseColor("#0591df")
/* Flutter */
Color(0xFF0591DF)
/* Python / OpenCV (BGR) */
(223, 145, 5)

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 #0591df · 6.12:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.43:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.12:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #0591df as text scores 3.43:1 on white and 6.12:1 on black.

Accessibility — WCAG contrast

Aa
#0591df on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#0591df on black: 6.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6B94E2
deuteranopia · #4E83DE
tritanopia · #00A4AD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0591df 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.

#F1F9FD
#E4F3FC
#C1E6FA
#91D6FD
#5AC2FB
#24ADFA
#0591df
#0482C8
#0468A0
#074C73
#053048
Base = 600Lightest = 50 · #F1F9FDDarkest = 950 · #053048
:root {
  --brand-50: #F1F9FD;
  --brand-100: #E4F3FC;
  --brand-200: #C1E6FA;
  --brand-300: #91D6FD;
  --brand-400: #5AC2FB;
  --brand-500: #24ADFA;
  --brand-600: #0591df;
  --brand-700: #0482C8;
  --brand-800: #0468A0;
  --brand-900: #074C73;
  --brand-950: #053048;
  --brand: #0591df;
  --brand-ink: #000000;
}

Colors that work with #0591df

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#4B7E9B
Captions on the surface
Accent#E41900
Second voice, not a rival
Dark variant#03517D
Hover, pressed, headers
Light variant#E6F6FE
Selected rows, tints
Dark surface#141E24
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 #0591df

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#DF5305
Analogous left#05DFC0
Analogous right#0524DF
Split-complement 1#DF0524
Split-complement 2#DFC005
Triadic 1#DF0591
Triadic 2#91DF05
Tetradic#C005DF

RGB percentages

Red2.0%
Green56.9%
Blue87.5%

CMYK percentages

Cyan97.8%
Magenta35.0%
Yellow0.0%
Key (black)12.5%

Color previews

#0591df text on a black background

contrast 6.12:1

Card sample

#0591df text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(5, 145, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 145, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0591df;
background: linear-gradient(135deg, #0591df, #0A05DF);

Monochromatic scale

Palettes built from #0591df

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.

#0591df 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.

#0591df, answered

What color is #0591df?

#0591df is a dark electric blue, closest to Dodger Blue (ΔE2000 5.3). It sits at 202° on the hue wheel with 96% saturation and 45% lightness, which reads as cool.

What is the RGB value of #0591df?

rgb(5, 145, 223) — 5 red, 145 green and 223 blue out of 255, or 2% / 56.9% / 87.5% by channel.

Is #0591df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2561 and perceived brightness is 53%, so black text on it reaches 6.12:1.

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

Black. It scores 6.12:1 against #0591df, versus 3.43:1 for white — AA at any size.

What is the complementary color of #0591df?

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

What colors go well with #0591df?

For interface work: #F4F8FA as the surface, #C0DDED for borders, #4B7E9B for secondary text, #E41900 as an accent and #03517D for hover and pressed states. For a palette, the analogous pair #05DFC0 and #0524DF stays calm, while #DF5305 is the loudest partner.

What is #0591df in CMYK for printing?

cmyk(98%, 35%, 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 #0591df 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 #05DFDD; nudged cooler, #0271C8.

Work with #0591df in the Color Lab