#2E4E76#2E4E76

#2E4E76 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.9% C 0.077 H 254.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2E4E76
RGBrgb(46, 78, 118)
HSLhsl(213, 44%, 32%)
HSVhsv(213, 61%, 46%)
CMYKcmyk(61%, 33.9%, 0%, 53.7%)
CIE-LABlab(32.56, 1.45, -26.40)
CIE-LCHlch(32.56, 26.44, 273.15°)
OKLaboklab(41.87% -0.0203 -0.0745)
OKLCHoklch(41.87% 0.077 254.8)
XYZxyz(7.1200, 7.3370, 18.1770)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E76 #76562E
analogous
#2E7276 #2E4E76 #322E76
triadic
#2E4E76 #762E4E #4E762E
tetradic
#2E4E76 #762E72 #76562E #2E7632
square
#2E4E76 #762E72 #76562E #2E7632
split-complementary
#2E4E76 #76322E #72762E
monochromatic
#0C141E #1D314A #2E4E76 #3F6BA2 #5E8AC0

Accessibility & contrast

On white

8.51
#2E4E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4E76
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E76#FFFFFF#000000##FFFFFF
##2E4E761.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5078
Deuteranopia (green-blind)
#344975
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4e76;
/* rgb */ color: rgb(46, 78, 118);
/* oklch */ color: oklch(41.9% 0.077 254.8);
Tailwind
colors: {
  custom: {
    50: '#6d7f9d',
    500: '#2e4e76',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e76;
$custom-light: #6d7f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e76",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 118
  },
  "hsl": {
    "h": 213.333,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41873,
    "c": 0.07723,
    "h": 254.8
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#2E4E76
secondary
#A78459
accent
#9B54D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2E4E76

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

Preview Lab → · Contrast checker → · Palette generator →

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