#2E4F71#2E4F71

#2E4F71 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.069 H 250.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2E4F71
RGBrgb(46, 79, 113)
HSLhsl(210, 42%, 31%)
HSVhsv(210, 59%, 44%)
CMYKcmyk(59.3%, 30.1%, 0%, 55.7%)
CIE-LABlab(32.62, -0.98, -23.18)
CIE-LCHlch(32.62, 23.20, 267.59°)
OKLaboklab(41.84% -0.0231 -0.0652)
OKLCHoklch(41.84% 0.069 250.5)
XYZxyz(6.9023, 7.3645, 16.6773)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4F71 #71502E
analogous
#2E7071 #2E4F71 #2E2E71
triadic
#2E4F71 #712E4F #4F712E
tetradic
#2E4F71 #712E70 #71502E #2E712E
square
#2E4F71 #712E70 #71502E #2E712E
split-complementary
#2E4F71 #712E2E #70712E
monochromatic
#0B121A #1C3146 #2E4F71 #406D9C #5D8CBD

Accessibility & contrast

On white

8.49
#2E4F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E4F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4F71
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4F71#FFFFFF#000000##FFFFFF
##2E4F711.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4f71;
/* rgb */ color: rgb(46, 79, 113);
/* oklch */ color: oklch(41.8% 0.069 250.5);
Tailwind
colors: {
  custom: {
    50: '#6c809a',
    500: '#2e4f71',
    950: '#000000',
  },
}
SCSS
$custom: #2e4f71;
$custom-light: #6c809a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4f71",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 113
  },
  "hsl": {
    "h": 210.448,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.06914,
    "h": 250.5
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#2E4F71
secondary
#A27E58
accent
#9556D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E4F71

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

Preview Lab → · Contrast checker → · Palette generator →

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