#2E5F89#2E5F89

#2E5F89 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.1% C 0.087 H 246.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2E5F89
RGBrgb(46, 95, 137)
HSLhsl(208, 50%, 36%)
HSVhsv(208, 66%, 54%)
CMYKcmyk(66.4%, 30.7%, 0%, 46.3%)
CIE-LABlab(38.85, -2.49, -28.21)
CIE-LCHlch(38.85, 28.32, 264.95°)
OKLaboklab(47.13% -0.0341 -0.0796)
OKLCHoklch(47.13% 0.087 246.8)
XYZxyz(9.7326, 10.5704, 25.1894)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5F89 #89582E
analogous
#2E8985 #2E5F89 #2E3189
triadic
#2E5F89 #892E5F #5F892E
tetradic
#2E5F89 #852E89 #89582E #31892E
square
#2E5F89 #852E89 #89582E #31892E
split-complementary
#2E5F89 #892E31 #89852E
monochromatic
#0F1F2D #1F3F5B #2E5F89 #3D7FB7 #669DCC

Accessibility & contrast

On white

6.74
#2E5F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2E5F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5F89
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5F89#FFFFFF#000000##FFFFFF
##2E5F891.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D608B
Deuteranopia (green-blind)
#405888
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2e5f89;
/* rgb */ color: rgb(46, 95, 137);
/* oklch */ color: oklch(47.1% 0.087 246.8);
Tailwind
colors: {
  custom: {
    50: '#718cab',
    500: '#2e5f89',
    950: '#000000',
  },
}
SCSS
$custom: #2e5f89;
$custom-light: #718cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5f89",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 137
  },
  "hsl": {
    "h": 207.692,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47126,
    "c": 0.08663,
    "h": 246.8
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#2E5F89
secondary
#B28660
accent
#8F4FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2E5F89

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

Preview Lab → · Contrast checker → · Palette generator →

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