#2D589E#2D589E

#2D589E is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.7% C 0.123 H 259.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2D589E
RGBrgb(45, 88, 158)
HSLhsl(217, 56%, 40%)
HSVhsv(217, 72%, 62%)
CMYKcmyk(71.5%, 44.3%, 0%, 38%)
CIE-LABlab(37.85, 9.62, -42.45)
CIE-LCHlch(37.85, 43.52, 282.77°)
OKLaboklab(46.72% -0.0221 -0.1214)
OKLCHoklch(46.72% 0.123 259.7)
XYZxyz(10.7412, 10.0048, 33.7062)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D589E #9E732D
analogous
#2D919E #2D589E #3A2D9E
triadic
#2D589E #9E2D58 #589E2D
tetradic
#2D589E #9E2D91 #9E732D #2D9E3A
square
#2D589E #9E2D91 #9E732D #2D9E3A
split-complementary
#2D589E #9E3A2D #919E2D
monochromatic
#12233F #1F3D6E #2D589E #4074C9 #6F96D6

Accessibility & contrast

On white

7.00
#2D589E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2D589E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D589E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D589E#FFFFFF#000000##FFFFFF
##2D589E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#22549D
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d589e;
/* rgb */ color: rgb(45, 88, 158);
/* oklch */ color: oklch(46.7% 0.123 259.7);
Tailwind
colors: {
  custom: {
    50: '#7486bb',
    500: '#2d589e',
    950: '#000000',
  },
}
SCSS
$custom: #2d589e;
$custom-light: #7486bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d589e",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 158
  },
  "hsl": {
    "h": 217.168,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46718,
    "c": 0.12338,
    "h": 259.7
  },
  "luminance": 0.10006
}

Semantic roles & 50–950 ramp

primary
#2D589E
secondary
#BD9D69
accent
#A649DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D589E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2D589E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva