#2E4D8E#2E4D8E

#2E4D8E is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.114 H 263.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2E4D8E
RGBrgb(46, 77, 142)
HSLhsl(221, 51%, 37%)
HSVhsv(221, 68%, 56%)
CMYKcmyk(67.6%, 45.8%, 0%, 44.3%)
CIE-LABlab(33.65, 11.00, -39.49)
CIE-LCHlch(33.65, 40.99, 285.56°)
OKLaboklab(43.17% -0.0134 -0.1128)
OKLCHoklch(43.17% 0.114 263.2)
XYZxyz(8.6614, 7.8408, 26.6429)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D8E #8E6F2E
analogous
#2E7D8E #2E4D8E #3F2E8E
triadic
#2E4D8E #8E2E4D #4D8E2E
tetradic
#2E4D8E #8E2E7D #8E6F2E #2E8E3F
square
#2E4D8E #8E2E7D #8E6F2E #2E8E3F
split-complementary
#2E4D8E #8E3F2E #7D8E2E
monochromatic
#101B32 #1F3460 #2E4D8E #3D66BC #6889CE

Accessibility & contrast

On white

8.18
#2E4D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2E4D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D8E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D8E#FFFFFF#000000##FFFFFF
##2E4D8E1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#1D4B8D
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4d8e;
/* rgb */ color: rgb(46, 77, 142);
/* oklch */ color: oklch(43.2% 0.114 263.2);
Tailwind
colors: {
  custom: {
    50: '#727eaf',
    500: '#2e4d8e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d8e;
$custom-light: #727eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d8e",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 142
  },
  "hsl": {
    "h": 220.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43168,
    "c": 0.11364,
    "h": 263.2
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

primary
#2E4D8E
secondary
#B59A63
accent
#AD4DDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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