#2E4775#2E4775

#2E4775 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.084 H 261.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2E4775
RGBrgb(46, 71, 117)
HSLhsl(219, 44%, 32%)
HSVhsv(219, 61%, 46%)
CMYKcmyk(60.7%, 39.3%, 0%, 54.1%)
CIE-LABlab(30.33, 5.71, -29.29)
CIE-LCHlch(30.33, 29.84, 281.03°)
OKLaboklab(40.12% -0.0121 -0.083)
OKLCHoklch(40.12% 0.084 261.7)
XYZxyz(6.5897, 6.3711, 17.7087)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4775 #755C2E
analogous
#2E6B75 #2E4775 #392E75
triadic
#2E4775 #752E47 #47752E
tetradic
#2E4775 #752E6B #755C2E #2E7539
square
#2E4775 #752E6B #755C2E #2E7539
split-complementary
#2E4775 #75392E #6B752E
monochromatic
#0B121D #1D2C49 #2E4775 #3F62A1 #5E80C0

Accessibility & contrast

On white

9.23
#2E4775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E4775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4775
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4775#FFFFFF#000000##FFFFFF
##2E47751.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B77
Deuteranopia (green-blind)
#2B4474
Tritanopia (blue-blind)
#005158
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4775;
/* rgb */ color: rgb(46, 71, 117);
/* oklch */ color: oklch(40.1% 0.084 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d799d',
    500: '#2e4775',
    950: '#000000',
  },
}
SCSS
$custom: #2e4775;
$custom-light: #6d799d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4775",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 117
  },
  "hsl": {
    "h": 218.873,
    "s": 43.558,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40116,
    "c": 0.08389,
    "h": 261.7
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#2E4775
secondary
#A68B59
accent
#A754D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2E4775

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

Preview Lab → · Contrast checker → · Palette generator →

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