#2E4E77#2E4E77

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

Color values

HEX#2E4E77
RGBrgb(46, 78, 119)
HSLhsl(214, 44%, 32%)
HSVhsv(214, 61%, 47%)
CMYKcmyk(61.3%, 34.5%, 0%, 53.3%)
CIE-LABlab(32.61, 1.82, -26.94)
CIE-LCHlch(32.61, 27.00, 273.85°)
OKLaboklab(41.93% -0.02 -0.0761)
OKLCHoklch(41.93% 0.079 255.3)
XYZxyz(7.1797, 7.3609, 18.4916)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E77 #77572E
analogous
#2E7277 #2E4E77 #332E77
triadic
#2E4E77 #772E4E #4E772E
tetradic
#2E4E77 #772E72 #77572E #2E7733
square
#2E4E77 #772E72 #77572E #2E7733
split-complementary
#2E4E77 #77332E #72772E
monochromatic
#0C141F #1D314B #2E4E77 #3F6BA3 #5E8AC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4E77#FFFFFF#000000##FFFFFF
##2E4E771.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)
#3D5179
Deuteranopia (green-blind)
#334A76
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4e77;
/* rgb */ color: rgb(46, 78, 119);
/* oklch */ color: oklch(41.9% 0.079 255.3);
Tailwind
colors: {
  custom: {
    50: '#6d7f9e',
    500: '#2e4e77',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e77;
$custom-light: #6d7f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e77",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 119
  },
  "hsl": {
    "h": 213.699,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.07866,
    "h": 255.3
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#2E4E77
secondary
#A88559
accent
#9C54D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E4E77

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

Preview Lab → · Contrast checker → · Palette generator →

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