#2E4D72#2E4D72

#2E4D72 is a dark, moderate cyan. Relative luminance 0.071; OKLCH L 41.4% C 0.073 H 253.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#2E4D72
RGBrgb(46, 77, 114)
HSLhsl(213, 43%, 31%)
HSVhsv(213, 60%, 45%)
CMYKcmyk(59.6%, 32.5%, 0%, 55.3%)
CIE-LABlab(32.04, 0.67, -24.71)
CIE-LCHlch(32.04, 24.72, 271.55°)
OKLaboklab(41.4% -0.0203 -0.0696)
OKLCHoklch(41.4% 0.073 253.7)
XYZxyz(6.8168, 7.1029, 16.9281)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D72 #72532E
analogous
#2E6F72 #2E4D72 #312E72
triadic
#2E4D72 #722E4D #4D722E
tetradic
#2E4D72 #722E6F #72532E #2E7231
square
#2E4D72 #722E6F #72532E #2E7231
split-complementary
#2E4D72 #72312E #6F722E
monochromatic
#0B121B #1C3046 #2E4D72 #406A9E #5D89BE

Accessibility & contrast

On white

8.67
#2E4D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4D72
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D72#FFFFFF#000000##FFFFFF
##2E4D721.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4d72;
/* rgb */ color: rgb(46, 77, 114);
/* oklch */ color: oklch(41.4% 0.073 253.7);
Tailwind
colors: {
  custom: {
    50: '#6d7e9a',
    500: '#2e4d72',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d72;
$custom-light: #6d7e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d72",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 114
  },
  "hsl": {
    "h": 212.647,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41396,
    "c": 0.07253,
    "h": 253.7
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4D72

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

Preview Lab → · Contrast checker → · Palette generator →

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