#2E4B79#2E4B79

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

Color values

HEX#2E4B79
RGBrgb(46, 75, 121)
HSLhsl(217, 45%, 33%)
HSVhsv(217, 62%, 47%)
CMYKcmyk(62%, 38%, 0%, 52.5%)
CIE-LABlab(31.79, 4.51, -29.48)
CIE-LCHlch(31.79, 29.83, 278.70°)
OKLaboklab(41.32% -0.0158 -0.0835)
OKLCHoklch(41.32% 0.085 259.3)
XYZxyz(7.0928, 6.9929, 19.0614)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B79 #795C2E
analogous
#2E7079 #2E4B79 #362E79
triadic
#2E4B79 #792E4B #4B792E
tetradic
#2E4B79 #792E70 #795C2E #2E7936
square
#2E4B79 #792E70 #795C2E #2E7936
split-complementary
#2E4B79 #79362E #70792E
monochromatic
#0C1420 #1D304D #2E4B79 #3F66A5 #5F85C2

Accessibility & contrast

On white

8.76
#2E4B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E4B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B79
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B79#FFFFFF#000000##FFFFFF
##2E4B791.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4b79;
/* rgb */ color: rgb(46, 75, 121);
/* oklch */ color: oklch(41.3% 0.085 259.3);
Tailwind
colors: {
  custom: {
    50: '#6e7da0',
    500: '#2e4b79',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b79;
$custom-light: #6e7da0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b79",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 216.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.08503,
    "h": 259.3
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#2E4B79
secondary
#A98A5A
accent
#A353D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #2E4B79

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

Preview Lab → · Contrast checker → · Palette generator →

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