#2D589C#2D589C

#2D589C is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.6% C 0.121 H 259.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2D589C
RGBrgb(45, 88, 156)
HSLhsl(217, 55%, 39%)
HSVhsv(217, 71%, 61%)
CMYKcmyk(71.2%, 43.6%, 0%, 38.8%)
CIE-LABlab(37.73, 8.86, -41.45)
CIE-LCHlch(37.73, 42.38, 282.07°)
OKLaboklab(46.58% -0.0225 -0.1184)
OKLCHoklch(46.58% 0.121 259.2)
XYZxyz(10.5705, 9.9365, 32.8069)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D589C #9C712D
analogous
#2D909C #2D589C #3A2D9C
triadic
#2D589C #9C2D58 #589C2D
tetradic
#2D589C #9C2D90 #9C712D #2D9C3A
square
#2D589C #9C2D90 #9C712D #2D9C3A
split-complementary
#2D589C #9C3A2D #909C2D
monochromatic
#12223D #1F3D6D #2D589C #3F74C8 #6E96D5

Accessibility & contrast

On white

7.03
#2D589C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D589C
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D589C#FFFFFF#000000##FFFFFF
##2D589C1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9F
Deuteranopia (green-blind)
#24549B
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d589c;
/* rgb */ color: rgb(45, 88, 156);
/* oklch */ color: oklch(46.6% 0.121 259.2);
Tailwind
colors: {
  custom: {
    50: '#7486ba',
    500: '#2d589c',
    950: '#000000',
  },
}
SCSS
$custom: #2d589c;
$custom-light: #7486ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d589c",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 156
  },
  "hsl": {
    "h": 216.757,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46583,
    "c": 0.12055,
    "h": 259.2
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#2D589C
secondary
#BC9C68
accent
#A549DF
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D589C

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

Preview Lab → · Contrast checker → · Palette generator →

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