#2E4E83#2E4E83

#2E4E83 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.096 H 260.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2E4E83
RGBrgb(46, 78, 131)
HSLhsl(217, 48%, 35%)
HSVhsv(217, 65%, 51%)
CMYKcmyk(64.9%, 40.5%, 0%, 48.6%)
CIE-LABlab(33.28, 6.21, -33.33)
CIE-LCHlch(33.28, 33.90, 280.56°)
OKLaboklab(42.67% -0.0168 -0.0947)
OKLCHoklch(42.67% 0.096 260)
XYZxyz(7.9464, 7.6676, 22.5296)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E83 #83632E
analogous
#2E7983 #2E4E83 #392E83
triadic
#2E4E83 #832E4E #4E832E
tetradic
#2E4E83 #832E79 #83632E #2E8339
square
#2E4E83 #832E79 #83632E #2E8339
split-complementary
#2E4E83 #83392E #79832E
monochromatic
#0E1828 #1E3356 #2E4E83 #3E69B0 #6389C8

Accessibility & contrast

On white

8.29
#2E4E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4E83
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E83#FFFFFF#000000##FFFFFF
##2E4E831.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375385
Deuteranopia (green-blind)
#2B4B82
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4e83;
/* rgb */ color: rgb(46, 78, 131);
/* oklch */ color: oklch(42.7% 0.096 260.0);
Tailwind
colors: {
  custom: {
    50: '#6f7fa7',
    500: '#2e4e83',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e83;
$custom-light: #6f7fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e83",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 217.412,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42667,
    "c": 0.09621,
    "h": 260
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#2E4E83
secondary
#AF905E
accent
#A550D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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