#2E5989#2E5989

#2E5989 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.7% C 0.092 H 252.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2E5989
RGBrgb(46, 89, 137)
HSLhsl(212, 50%, 36%)
HSVhsv(212, 66%, 54%)
CMYKcmyk(66.4%, 35%, 0%, 46.3%)
CIE-LABlab(36.99, 1.29, -31.14)
CIE-LCHlch(36.99, 31.16, 272.37°)
OKLaboklab(45.66% -0.0274 -0.0882)
OKLCHoklch(45.66% 0.092 252.7)
XYZxyz(9.2128, 9.5308, 25.0162)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5989 #895E2E
analogous
#2E8689 #2E5989 #302E89
triadic
#2E5989 #892E59 #59892E
tetradic
#2E5989 #892E86 #895E2E #2E8930
square
#2E5989 #892E86 #895E2E #2E8930
split-complementary
#2E5989 #89302E #86892E
monochromatic
#0F1D2D #1F3B5B #2E5989 #3D77B7 #6696CC

Accessibility & contrast

On white

7.23
#2E5989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E5989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5989
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5989#FFFFFF#000000##FFFFFF
##2E59891.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8B
Deuteranopia (green-blind)
#385388
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e5989;
/* rgb */ color: rgb(46, 89, 137);
/* oklch */ color: oklch(45.7% 0.092 252.7);
Tailwind
colors: {
  custom: {
    50: '#7187ab',
    500: '#2e5989',
    950: '#000000',
  },
}
SCSS
$custom: #2e5989;
$custom-light: #7187ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5989",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 137
  },
  "hsl": {
    "h": 211.648,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45664,
    "c": 0.09238,
    "h": 252.7
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

primary
#2E5989
secondary
#B28C60
accent
#984FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5989

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

Preview Lab → · Contrast checker → · Palette generator →

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