#2E4B78#2E4B78

#2E4B78 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.3% C 0.084 H 258.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2E4B78
RGBrgb(46, 75, 120)
HSLhsl(216, 45%, 33%)
HSVhsv(216, 62%, 47%)
CMYKcmyk(61.7%, 37.5%, 0%, 52.9%)
CIE-LABlab(31.74, 4.15, -28.95)
CIE-LCHlch(31.74, 29.24, 278.15°)
OKLaboklab(41.26% -0.0161 -0.082)
OKLCHoklch(41.26% 0.084 258.9)
XYZxyz(7.0318, 6.9685, 18.7401)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B78 #785B2E
analogous
#2E7078 #2E4B78 #362E78
triadic
#2E4B78 #782E4B #4B782E
tetradic
#2E4B78 #782E70 #785B2E #2E7836
square
#2E4B78 #782E70 #785B2E #2E7836
split-complementary
#2E4B78 #78362E #70782E
monochromatic
#0C1420 #1D2F4C #2E4B78 #3F67A4 #5F86C2

Accessibility & contrast

On white

8.77
#2E4B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E4B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B78
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B78#FFFFFF#000000##FFFFFF
##2E4B781.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#2E4777
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4b78;
/* rgb */ color: rgb(46, 75, 120);
/* oklch */ color: oklch(41.3% 0.084 258.9);
Tailwind
colors: {
  custom: {
    50: '#6e7d9f',
    500: '#2e4b78',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b78;
$custom-light: #6e7d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b78",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 120
  },
  "hsl": {
    "h": 216.486,
    "s": 44.578,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.08355,
    "h": 258.9
  },
  "luminance": 0.06969
}

Semantic roles & 50–950 ramp

primary
#2E4B78
secondary
#A8895A
accent
#A254D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4B78

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

Preview Lab → · Contrast checker → · Palette generator →

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