#2D589D#2D589D

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

Color values

HEX#2D589D
RGBrgb(45, 88, 157)
HSLhsl(217, 55%, 40%)
HSVhsv(217, 71%, 62%)
CMYKcmyk(71.3%, 43.9%, 0%, 38.4%)
CIE-LABlab(37.79, 9.24, -41.95)
CIE-LCHlch(37.79, 42.95, 282.42°)
OKLaboklab(46.65% -0.0223 -0.1199)
OKLCHoklch(46.65% 0.122 259.5)
XYZxyz(10.6555, 9.9705, 33.2547)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D589D #9D722D
analogous
#2D909D #2D589D #3A2D9D
triadic
#2D589D #9D2D58 #589D2D
tetradic
#2D589D #9D2D90 #9D722D #2D9D3A
square
#2D589D #9D2D90 #9D722D #2D9D3A
split-complementary
#2D589D #9D3A2D #909D2D
monochromatic
#12233E #1F3D6D #2D589D #3F74C8 #6F96D6

Accessibility & contrast

On white

7.01
#2D589D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2D589D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D589D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D589D#FFFFFF#000000##FFFFFF
##2D589D1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375FA0
Deuteranopia (green-blind)
#23549C
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d589d;
/* rgb */ color: rgb(45, 88, 157);
/* oklch */ color: oklch(46.7% 0.122 259.5);
Tailwind
colors: {
  custom: {
    50: '#7486ba',
    500: '#2d589d',
    950: '#000000',
  },
}
SCSS
$custom: #2d589d;
$custom-light: #7486ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d589d",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 216.964,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4665,
    "c": 0.12196,
    "h": 259.5
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D589D

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

Preview Lab → · Contrast checker → · Palette generator →

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