#2E4B72#2E4B72

#2E4B72 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.9% C 0.075 H 256.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2E4B72
RGBrgb(46, 75, 114)
HSLhsl(214, 43%, 31%)
HSVhsv(214, 60%, 45%)
CMYKcmyk(59.6%, 34.2%, 0%, 55.3%)
CIE-LABlab(31.41, 1.97, -25.70)
CIE-LCHlch(31.41, 25.78, 274.39°)
OKLaboklab(40.9% -0.0178 -0.0725)
OKLCHoklch(40.9% 0.075 256.2)
XYZxyz(6.6790, 6.8273, 16.8822)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B72 #72552E
analogous
#2E6D72 #2E4B72 #332E72
triadic
#2E4B72 #722E4B #4B722E
tetradic
#2E4B72 #722E6D #72552E #2E7233
square
#2E4B72 #722E6D #72552E #2E7233
split-complementary
#2E4B72 #72332E #6D722E
monochromatic
#0B121B #1C2E46 #2E4B72 #40689E #5D86BE

Accessibility & contrast

On white

8.88
#2E4B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2E4B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B72
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B72#FFFFFF#000000##FFFFFF
##2E4B721.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D74
Deuteranopia (green-blind)
#324771
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4b72;
/* rgb */ color: rgb(46, 75, 114);
/* oklch */ color: oklch(40.9% 0.075 256.2);
Tailwind
colors: {
  custom: {
    50: '#6d7d9a',
    500: '#2e4b72',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b72;
$custom-light: #6d7d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b72",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 114
  },
  "hsl": {
    "h": 214.412,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40903,
    "c": 0.07468,
    "h": 256.2
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#2E4B72
secondary
#A38358
accent
#9D56D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4B72

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

Preview Lab → · Contrast checker → · Palette generator →

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