#2D5689#2D5689

#2D5689 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.9% C 0.096 H 254.9°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2D5689
RGBrgb(45, 86, 137)
HSLhsl(213, 51%, 36%)
HSVhsv(213, 67%, 54%)
CMYKcmyk(67.2%, 37.2%, 0%, 46.3%)
CIE-LABlab(36.02, 3.03, -32.67)
CIE-LCHlch(36.02, 32.81, 275.29°)
OKLaboklab(44.9% -0.0249 -0.0927)
OKLCHoklch(44.9% 0.096 254.9)
XYZxyz(8.9237, 9.0187, 24.9326)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5689 #89602D
analogous
#2D8489 #2D5689 #322D89
triadic
#2D5689 #892D56 #56892D
tetradic
#2D5689 #892D84 #89602D #2D8932
square
#2D5689 #892D84 #89602D #2D8932
split-complementary
#2D5689 #89322D #84892D
monochromatic
#0F1C2D #1E395B #2D5689 #3C73B7 #6493CC

Accessibility & contrast

On white

7.49
#2D5689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2D5689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5689
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5689#FFFFFF#000000##FFFFFF
##2D56891.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40598B
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#006269
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d5689;
/* rgb */ color: rgb(45, 86, 137);
/* oklch */ color: oklch(44.9% 0.096 254.9);
Tailwind
colors: {
  custom: {
    50: '#7085ac',
    500: '#2d5689',
    950: '#000000',
  },
}
SCSS
$custom: #2d5689;
$custom-light: #7085ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5689",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 137
  },
  "hsl": {
    "h": 213.261,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44897,
    "c": 0.09603,
    "h": 254.9
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#2D5689
secondary
#B38D5F
accent
#9C4EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5689

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

Preview Lab → · Contrast checker → · Palette generator →

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