#2E4F72#2E4F72

#2E4F72 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.071 H 251.1°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2E4F72
RGBrgb(46, 79, 114)
HSLhsl(211, 43%, 31%)
HSVhsv(211, 60%, 45%)
CMYKcmyk(59.6%, 30.7%, 0%, 55.3%)
CIE-LABlab(32.67, -0.62, -23.72)
CIE-LCHlch(32.67, 23.73, 268.50°)
OKLaboklab(41.89% -0.0228 -0.0667)
OKLCHoklch(41.89% 0.071 251.1)
XYZxyz(6.9589, 7.3871, 16.9755)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F72 #72512E
analogous
#2E7172 #2E4F72 #2F2E72
triadic
#2E4F72 #722E4F #4F722E
tetradic
#2E4F72 #722E71 #72512E #2E722F
square
#2E4F72 #722E71 #72512E #2E722F
split-complementary
#2E4F72 #722F2E #71722E
monochromatic
#0B131B #1C3146 #2E4F72 #406D9E #5D8CBE

Accessibility & contrast

On white

8.48
#2E4F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2E4F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F72
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F72#FFFFFF#000000##FFFFFF
##2E4F721.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405174
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#00575B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4f72;
/* rgb */ color: rgb(46, 79, 114);
/* oklch */ color: oklch(41.9% 0.071 251.1);
Tailwind
colors: {
  custom: {
    50: '#6d809a',
    500: '#2e4f72',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f72;
$custom-light: #6d809a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f72",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 114
  },
  "hsl": {
    "h": 210.882,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41892,
    "c": 0.07054,
    "h": 251.1
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#2E4F72
secondary
#A37F58
accent
#9656D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E4F72

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

Preview Lab → · Contrast checker → · Palette generator →

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