#2E4E72#2E4E72

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

Color values

HEX#2E4E72
RGBrgb(46, 78, 114)
HSLhsl(212, 43%, 31%)
HSVhsv(212, 60%, 45%)
CMYKcmyk(59.6%, 31.6%, 0%, 55.3%)
CIE-LABlab(32.36, 0.02, -24.22)
CIE-LCHlch(32.36, 24.22, 270.05°)
OKLaboklab(41.64% -0.0215 -0.0682)
OKLCHoklch(41.64% 0.072 252.5)
XYZxyz(6.8873, 7.2439, 16.9516)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E72 #72522E
analogous
#2E7072 #2E4E72 #302E72
triadic
#2E4E72 #722E4E #4E722E
tetradic
#2E4E72 #722E70 #72522E #2E7230
square
#2E4E72 #722E70 #72522E #2E7230
split-complementary
#2E4E72 #72302E #70722E
monochromatic
#0B121B #1C3046 #2E4E72 #406C9E #5D8ABE

Accessibility & contrast

On white

8.57
#2E4E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E4E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E72
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E72#FFFFFF#000000##FFFFFF
##2E4E721.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#364971
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e4e72;
/* rgb */ color: rgb(46, 78, 114);
/* oklch */ color: oklch(41.6% 0.072 252.5);
Tailwind
colors: {
  custom: {
    50: '#6d7f9a',
    500: '#2e4e72',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e72;
$custom-light: #6d7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e72",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 211.765,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41643,
    "c": 0.07151,
    "h": 252.5
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#2E4E72
secondary
#A38058
accent
#9856D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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