#2E388D#2E388D

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

Color values

HEX#2E388D
RGBrgb(46, 56, 141)
HSLhsl(234, 51%, 37%)
HSVhsv(234, 67%, 55%)
CMYKcmyk(67.4%, 60.3%, 0%, 44.7%)
CIE-LABlab(27.66, 24.80, -48.54)
CIE-LCHlch(27.66, 54.51, 297.07°)
OKLaboklab(38.61% 0.007 -0.1398)
OKLCHoklch(38.61% 0.14 272.9)
XYZxyz(7.3470, 5.3316, 25.8361)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E388D #8D832E
analogous
#2E688D #2E388D #542E8D
triadic
#2E388D #8D2E38 #388D2E
tetradic
#2E388D #8D2E68 #8D832E #2E8D54
square
#2E388D #8D2E68 #8D832E #2E8D54
split-complementary
#2E388D #8D542E #688D2E
monochromatic
#101331 #1F265F #2E388D #3D4ABB #6872CE

Accessibility & contrast

On white

10.16
#2E388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2E388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E388D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E388D#FFFFFF#000000##FFFFFF
##2E388D1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e388d;
/* rgb */ color: rgb(46, 56, 141);
/* oklch */ color: oklch(38.6% 0.140 272.9);
Tailwind
colors: {
  custom: {
    50: '#736eaf',
    500: '#2e388d',
    950: '#000000',
  },
}
SCSS
$custom: #2e388d;
$custom-light: #736eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e388d",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 233.684,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38614,
    "c": 0.13996,
    "h": 272.9
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#2E388D
secondary
#B5AC62
accent
#CB4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E388D

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

Preview Lab → · Contrast checker → · Palette generator →

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