#2E4A71#2E4A71

#2E4A71 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.6% C 0.074 H 256.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2E4A71
RGBrgb(46, 74, 113)
HSLhsl(215, 42%, 31%)
HSVhsv(215, 59%, 44%)
CMYKcmyk(59.3%, 34.5%, 0%, 55.7%)
CIE-LABlab(31.04, 2.27, -25.65)
CIE-LCHlch(31.04, 25.75, 275.06°)
OKLaboklab(40.6% -0.0169 -0.0724)
OKLCHoklch(40.6% 0.074 256.9)
XYZxyz(6.5551, 6.6701, 16.5616)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A71 #71552E
analogous
#2E6B71 #2E4A71 #332E71
triadic
#2E4A71 #712E4A #4A712E
tetradic
#2E4A71 #712E6B #71552E #2E7133
square
#2E4A71 #712E6B #71552E #2E7133
split-complementary
#2E4A71 #71332E #6B712E
monochromatic
#0B111A #1C2E46 #2E4A71 #40669C #5D85BD

Accessibility & contrast

On white

9.00
#2E4A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E4A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A71
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A71#FFFFFF#000000##FFFFFF
##2E4A711.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D73
Deuteranopia (green-blind)
#324670
Tritanopia (blue-blind)
#005358
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4a71;
/* rgb */ color: rgb(46, 74, 113);
/* oklch */ color: oklch(40.6% 0.074 256.9);
Tailwind
colors: {
  custom: {
    50: '#6c7c9a',
    500: '#2e4a71',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a71;
$custom-light: #6c7c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a71",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 214.925,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40599,
    "c": 0.07432,
    "h": 256.9
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#2E4A71
secondary
#A28358
accent
#9E56D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4A71

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

Preview Lab → · Contrast checker → · Palette generator →

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