#2E4D79#2E4D79

#2E4D79 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.8% C 0.083 H 257.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2E4D79
RGBrgb(46, 77, 121)
HSLhsl(215, 45%, 33%)
HSVhsv(215, 62%, 47%)
CMYKcmyk(62%, 36.4%, 0%, 52.5%)
CIE-LABlab(32.41, 3.19, -28.51)
CIE-LCHlch(32.41, 28.68, 276.39°)
OKLaboklab(41.81% -0.0182 -0.0807)
OKLCHoklch(41.81% 0.083 257.3)
XYZxyz(7.2306, 7.2684, 19.1074)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D79 #795A2E
analogous
#2E7279 #2E4D79 #342E79
triadic
#2E4D79 #792E4D #4D792E
tetradic
#2E4D79 #792E72 #795A2E #2E7934
square
#2E4D79 #792E72 #795A2E #2E7934
split-complementary
#2E4D79 #79342E #72792E
monochromatic
#0C1520 #1D314D #2E4D79 #3F69A5 #5F88C2

Accessibility & contrast

On white

8.56
#2E4D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E4D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D79
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D79#FFFFFF#000000##FFFFFF
##2E4D791.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507B
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e4d79;
/* rgb */ color: rgb(46, 77, 121);
/* oklch */ color: oklch(41.8% 0.083 257.3);
Tailwind
colors: {
  custom: {
    50: '#6e7ea0',
    500: '#2e4d79',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d79;
$custom-light: #6e7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d79",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 121
  },
  "hsl": {
    "h": 215.2,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41807,
    "c": 0.08269,
    "h": 257.3
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#2E4D79
secondary
#A9885A
accent
#9F53D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #2E4D79

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

Preview Lab → · Contrast checker → · Palette generator →

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