#2E4E8D#2E4E8D

#2E4E8D is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.111 H 262.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2E4E8D
RGBrgb(46, 78, 141)
HSLhsl(220, 51%, 37%)
HSVhsv(220, 67%, 55%)
CMYKcmyk(67.4%, 44.7%, 0%, 44.7%)
CIE-LABlab(33.88, 9.95, -38.51)
CIE-LCHlch(33.88, 39.77, 284.49°)
OKLaboklab(43.33% -0.0146 -0.1099)
OKLCHoklch(43.33% 0.111 262.4)
XYZxyz(8.6571, 7.9519, 26.2728)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E8D #8D6D2E
analogous
#2E7E8D #2E4E8D #3D2E8D
triadic
#2E4E8D #8D2E4E #4E8D2E
tetradic
#2E4E8D #8D2E7E #8D6D2E #2E8D3D
square
#2E4E8D #8D2E7E #8D6D2E #2E8D3D
split-complementary
#2E4E8D #8D3D2E #7E8D2E
monochromatic
#101B31 #1F345F #2E4E8D #3D68BB #688ACE

Accessibility & contrast

On white

8.11
#2E4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E8D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E8D#FFFFFF#000000##FFFFFF
##2E4E8D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4e8d;
/* rgb */ color: rgb(46, 78, 141);
/* oklch */ color: oklch(43.3% 0.111 262.4);
Tailwind
colors: {
  custom: {
    50: '#717faf',
    500: '#2e4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e8d;
$custom-light: #717faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e8d",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 219.789,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43328,
    "c": 0.1109,
    "h": 262.4
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#2E4E8D
secondary
#B59962
accent
#AB4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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