#2E4E82#2E4E82

#2E4E82 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.095 H 259.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2E4E82
RGBrgb(46, 78, 130)
HSLhsl(217, 48%, 35%)
HSVhsv(217, 65%, 51%)
CMYKcmyk(64.6%, 40%, 0%, 49%)
CIE-LABlab(33.22, 5.84, -32.80)
CIE-LCHlch(33.22, 33.32, 280.10°)
OKLaboklab(42.6% -0.017 -0.0932)
OKLCHoklch(42.6% 0.095 259.7)
XYZxyz(7.8789, 7.6406, 22.1743)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E82 #82622E
analogous
#2E7882 #2E4E82 #382E82
triadic
#2E4E82 #822E4E #4E822E
tetradic
#2E4E82 #822E78 #82622E #2E8238
square
#2E4E82 #822E78 #82622E #2E8238
split-complementary
#2E4E82 #82382E #78822E
monochromatic
#0E1828 #1E3355 #2E4E82 #3E69AF #6389C8

Accessibility & contrast

On white

8.31
#2E4E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2E4E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E82
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E82#FFFFFF#000000##FFFFFF
##2E4E821.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#2C4B81
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4e82;
/* rgb */ color: rgb(46, 78, 130);
/* oklch */ color: oklch(42.6% 0.095 259.7);
Tailwind
colors: {
  custom: {
    50: '#6f7fa6',
    500: '#2e4e82',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e82;
$custom-light: #6f7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e82",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 217.143,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42603,
    "c": 0.09475,
    "h": 259.7
  },
  "luminance": 0.07641
}

Semantic roles & 50–950 ramp

primary
#2E4E82
secondary
#AE905D
accent
#A450D7
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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