#2D5589#2D5589

#2D5589 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.7% C 0.097 H 255.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2D5589
RGBrgb(45, 85, 137)
HSLhsl(214, 51%, 36%)
HSVhsv(214, 67%, 54%)
CMYKcmyk(67.2%, 38%, 0%, 46.3%)
CIE-LABlab(35.71, 3.67, -33.15)
CIE-LCHlch(35.71, 33.36, 276.32°)
OKLaboklab(44.66% -0.0238 -0.0942)
OKLCHoklch(44.66% 0.097 255.8)
XYZxyz(8.8444, 8.8602, 24.9061)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5589 #89612D
analogous
#2D8389 #2D5589 #332D89
triadic
#2D5589 #892D55 #55892D
tetradic
#2D5589 #892D83 #89612D #2D8933
square
#2D5589 #892D83 #89612D #2D8933
split-complementary
#2D5589 #89332D #83892D
monochromatic
#0F1C2D #1E385B #2D5589 #3C72B7 #6491CC

Accessibility & contrast

On white

7.58
#2D5589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D5589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5589
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5589#FFFFFF#000000##FFFFFF
##2D55891.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598B
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5589;
/* rgb */ color: rgb(45, 85, 137);
/* oklch */ color: oklch(44.7% 0.097 255.8);
Tailwind
colors: {
  custom: {
    50: '#7084ac',
    500: '#2d5589',
    950: '#000000',
  },
}
SCSS
$custom: #2d5589;
$custom-light: #7084ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5589",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 137
  },
  "hsl": {
    "h": 213.913,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44658,
    "c": 0.09713,
    "h": 255.8
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#2D5589
secondary
#B38E5F
accent
#9D4EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5589

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

Preview Lab → · Contrast checker → · Palette generator →

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