#2E4E71#2E4E71

#2E4E71 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.070 H 251.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2E4E71
RGBrgb(46, 78, 113)
HSLhsl(211, 42%, 31%)
HSVhsv(211, 59%, 44%)
CMYKcmyk(59.3%, 31%, 0%, 55.7%)
CIE-LABlab(32.31, -0.33, -23.67)
CIE-LCHlch(32.31, 23.67, 269.19°)
OKLaboklab(41.59% -0.0219 -0.0666)
OKLCHoklch(41.59% 0.07 251.8)
XYZxyz(6.8307, 7.2213, 16.6535)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E71 #71512E
analogous
#2E6F71 #2E4E71 #2F2E71
triadic
#2E4E71 #712E4E #4E712E
tetradic
#2E4E71 #712E6F #71512E #2E712F
square
#2E4E71 #712E6F #71512E #2E712F
split-complementary
#2E4E71 #712F2E #6F712E
monochromatic
#0B121A #1C3046 #2E4E71 #406C9C #5D8BBD

Accessibility & contrast

On white

8.59
#2E4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2E4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E71
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E71#FFFFFF#000000##FFFFFF
##2E4E711.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405073
Deuteranopia (green-blind)
#374970
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e4e71;
/* rgb */ color: rgb(46, 78, 113);
/* oklch */ color: oklch(41.6% 0.070 251.8);
Tailwind
colors: {
  custom: {
    50: '#6c7f9a',
    500: '#2e4e71',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e71;
$custom-light: #6c7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e71",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 211.343,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41587,
    "c": 0.0701,
    "h": 251.8
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#2E4E71
secondary
#A27F58
accent
#9756D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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