#2E388B#2E388B

#2E388B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.4% C 0.137 H 272.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2E388B
RGBrgb(46, 56, 139)
HSLhsl(234, 50%, 36%)
HSVhsv(234, 67%, 55%)
CMYKcmyk(66.9%, 59.7%, 0%, 45.5%)
CIE-LABlab(27.50, 24.07, -47.57)
CIE-LCHlch(27.50, 53.31, 296.84°)
OKLaboklab(38.44% 0.007 -0.1369)
OKLCHoklch(38.44% 0.137 272.9)
XYZxyz(7.1995, 5.2726, 25.0594)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E388B #8B812E
analogous
#2E678B #2E388B #532E8B
triadic
#2E388B #8B2E38 #388B2E
tetradic
#2E388B #8B2E67 #8B812E #2E8B53
square
#2E388B #8B2E67 #8B812E #2E8B53
split-complementary
#2E388B #8B532E #678B2E
monochromatic
#10132F #1F255D #2E388B #3D4BB9 #6772CD

Accessibility & contrast

On white

10.22
#2E388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2E388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E388B
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E388B#FFFFFF#000000##FFFFFF
##2E388B1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e388b;
/* rgb */ color: rgb(46, 56, 139);
/* oklch */ color: oklch(38.4% 0.137 272.9);
Tailwind
colors: {
  custom: {
    50: '#726eae',
    500: '#2e388b',
    950: '#000000',
  },
}
SCSS
$custom: #2e388b;
$custom-light: #726eae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e388b",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 233.548,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38443,
    "c": 0.13709,
    "h": 272.9
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E388B

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

Preview Lab → · Contrast checker → · Palette generator →

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