#2E378B#2E378B

#2E378B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.138 H 273.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2E378B
RGBrgb(46, 55, 139)
HSLhsl(234, 50%, 36%)
HSVhsv(234, 67%, 55%)
CMYKcmyk(66.9%, 60.4%, 0%, 45.5%)
CIE-LABlab(27.23, 24.74, -48.00)
CIE-LCHlch(27.23, 54.00, 297.27°)
OKLaboklab(38.25% 0.0079 -0.1382)
OKLCHoklch(38.25% 0.138 273.3)
XYZxyz(7.1516, 5.1767, 25.0434)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E378B #8B822E
analogous
#2E668B #2E378B #542E8B
triadic
#2E378B #8B2E37 #378B2E
tetradic
#2E378B #8B2E66 #8B822E #2E8B54
square
#2E378B #8B2E66 #8B822E #2E8B54
split-complementary
#2E378B #8B542E #668B2E
monochromatic
#10132F #1F255D #2E378B #3D49B9 #6771CD

Accessibility & contrast

On white

10.32
#2E378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E378B
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E378B#FFFFFF#000000##FFFFFF
##2E378B1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e378b;
/* rgb */ color: rgb(46, 55, 139);
/* oklch */ color: oklch(38.2% 0.138 273.3);
Tailwind
colors: {
  custom: {
    50: '#726dae',
    500: '#2e378b',
    950: '#000000',
  },
}
SCSS
$custom: #2e378b;
$custom-light: #726dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e378b",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 234.194,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38246,
    "c": 0.13842,
    "h": 273.3
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#2E378B
secondary
#B3AB61
accent
#CC4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E378B

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

Preview Lab → · Contrast checker → · Palette generator →

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