#2D5889#2D5889

#2D5889 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.4% C 0.094 H 253.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2D5889
RGBrgb(45, 88, 137)
HSLhsl(212, 51%, 36%)
HSVhsv(212, 67%, 54%)
CMYKcmyk(67.2%, 35.8%, 0%, 46.3%)
CIE-LABlab(36.64, 1.74, -31.69)
CIE-LCHlch(36.64, 31.74, 273.14°)
OKLaboklab(45.38% -0.0271 -0.0899)
OKLCHoklch(45.38% 0.094 253.2)
XYZxyz(9.0856, 9.3426, 24.9865)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5889 #895E2D
analogous
#2D8689 #2D5889 #302D89
triadic
#2D5889 #892D58 #58892D
tetradic
#2D5889 #892D86 #895E2D #2D8930
square
#2D5889 #892D86 #895E2D #2D8930
split-complementary
#2D5889 #89302D #86892D
monochromatic
#0F1D2D #1E3A5B #2D5889 #3C76B7 #6495CC

Accessibility & contrast

On white

7.32
#2D5889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D5889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5889
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5889#FFFFFF#000000##FFFFFF
##2D58891.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435B8B
Deuteranopia (green-blind)
#365288
Tritanopia (blue-blind)
#00636A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d5889;
/* rgb */ color: rgb(45, 88, 137);
/* oklch */ color: oklch(45.4% 0.094 253.2);
Tailwind
colors: {
  custom: {
    50: '#7086ab',
    500: '#2d5889',
    950: '#000000',
  },
}
SCSS
$custom: #2d5889;
$custom-light: #7086ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5889",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 137
  },
  "hsl": {
    "h": 211.957,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.09387,
    "h": 253.2
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#2D5889
secondary
#B38C5F
accent
#984EDA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2D5889

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

Preview Lab → · Contrast checker → · Palette generator →

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