#2E4E79#2E4E79

#2E4E79 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.082 H 256.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2E4E79
RGBrgb(46, 78, 121)
HSLhsl(214, 45%, 33%)
HSVhsv(214, 62%, 47%)
CMYKcmyk(62%, 35.5%, 0%, 52.5%)
CIE-LABlab(32.72, 2.54, -28.02)
CIE-LCHlch(32.72, 28.13, 275.18°)
OKLaboklab(42.05% -0.0194 -0.0792)
OKLCHoklch(42.05% 0.082 256.2)
XYZxyz(7.3011, 7.4095, 19.1309)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E79 #79592E
analogous
#2E7379 #2E4E79 #332E79
triadic
#2E4E79 #792E4E #4E792E
tetradic
#2E4E79 #792E73 #79592E #2E7933
square
#2E4E79 #792E73 #79592E #2E7933
split-complementary
#2E4E79 #79332E #73792E
monochromatic
#0C1520 #1D314D #2E4E79 #3F6BA5 #5F89C2

Accessibility & contrast

On white

8.46
#2E4E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4E79
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E79#FFFFFF#000000##FFFFFF
##2E4E791.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#324A78
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4e79;
/* rgb */ color: rgb(46, 78, 121);
/* oklch */ color: oklch(42.0% 0.082 256.2);
Tailwind
colors: {
  custom: {
    50: '#6e7fa0',
    500: '#2e4e79',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e79;
$custom-light: #6e7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e79",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 214.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42049,
    "c": 0.08156,
    "h": 256.2
  },
  "luminance": 0.0741
}

Semantic roles & 50–950 ramp

primary
#2E4E79
secondary
#A9875A
accent
#9D53D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #2E4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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