#2E4D71#2E4D71

#2E4D71 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.3% C 0.071 H 253.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2E4D71
RGBrgb(46, 77, 113)
HSLhsl(212, 42%, 31%)
HSVhsv(212, 59%, 44%)
CMYKcmyk(59.3%, 31.9%, 0%, 55.7%)
CIE-LABlab(31.99, 0.31, -24.17)
CIE-LCHlch(31.99, 24.17, 270.74°)
OKLaboklab(41.34% -0.0206 -0.068)
OKLCHoklch(41.34% 0.071 253.1)
XYZxyz(6.7602, 7.0803, 16.6300)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D71 #71522E
analogous
#2E6E71 #2E4D71 #302E71
triadic
#2E4D71 #712E4D #4D712E
tetradic
#2E4D71 #712E6E #71522E #2E7130
square
#2E4D71 #712E6E #71522E #2E7130
split-complementary
#2E4D71 #71302E #6E712E
monochromatic
#0B121A #1C2F46 #2E4D71 #406B9C #5D89BD

Accessibility & contrast

On white

8.69
#2E4D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E4D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D71
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D71#FFFFFF#000000##FFFFFF
##2E4D711.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#364870
Tritanopia (blue-blind)
#00555A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4d71;
/* rgb */ color: rgb(46, 77, 113);
/* oklch */ color: oklch(41.3% 0.071 253.1);
Tailwind
colors: {
  custom: {
    50: '#6c7e9a',
    500: '#2e4d71',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d71;
$custom-light: #6c7e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d71",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 113
  },
  "hsl": {
    "h": 212.239,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41339,
    "c": 0.0711,
    "h": 253.1
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#2E4D71
secondary
#A28058
accent
#9956D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4D71

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

Preview Lab → · Contrast checker → · Palette generator →

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