#2E5889#2E5889

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

Color values

HEX#2E5889
RGBrgb(46, 88, 137)
HSLhsl(212, 50%, 36%)
HSVhsv(212, 66%, 54%)
CMYKcmyk(66.4%, 35.8%, 0%, 46.3%)
CIE-LABlab(36.68, 1.93, -31.62)
CIE-LCHlch(36.68, 31.68, 273.49°)
OKLaboklab(45.42% -0.0263 -0.0896)
OKLCHoklch(45.42% 0.093 253.6)
XYZxyz(9.1302, 9.3655, 24.9886)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5889 #895F2E
analogous
#2E8589 #2E5889 #312E89
triadic
#2E5889 #892E58 #58892E
tetradic
#2E5889 #892E85 #895F2E #2E8931
square
#2E5889 #892E85 #895F2E #2E8931
split-complementary
#2E5889 #89312E #85892E
monochromatic
#0F1D2D #1F3B5B #2E5889 #3D75B7 #6695CC

Accessibility & contrast

On white

7.31
#2E5889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5889
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5889#FFFFFF#000000##FFFFFF
##2E58891.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.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: #2e5889;
/* rgb */ color: rgb(46, 88, 137);
/* oklch */ color: oklch(45.4% 0.093 253.6);
Tailwind
colors: {
  custom: {
    50: '#7186ab',
    500: '#2e5889',
    950: '#000000',
  },
}
SCSS
$custom: #2e5889;
$custom-light: #7186ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5889",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 137
  },
  "hsl": {
    "h": 212.308,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45423,
    "c": 0.09342,
    "h": 253.6
  },
  "luminance": 0.09366
}

Semantic roles & 50–950 ramp

primary
#2E5889
secondary
#B28D60
accent
#994FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5889

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

Preview Lab → · Contrast checker → · Palette generator →

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