#2E388A#2E388A

#2E388A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.136 H 273.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2E388A
RGBrgb(46, 56, 138)
HSLhsl(233, 50%, 36%)
HSVhsv(233, 67%, 54%)
CMYKcmyk(66.7%, 59.4%, 0%, 45.9%)
CIE-LABlab(27.42, 23.70, -47.08)
CIE-LCHlch(27.42, 52.71, 296.72°)
OKLaboklab(38.36% 0.007 -0.1355)
OKLCHoklch(38.36% 0.136 273)
XYZxyz(7.1268, 5.2435, 24.6764)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E388A #8A802E
analogous
#2E668A #2E388A #522E8A
triadic
#2E388A #8A2E38 #388A2E
tetradic
#2E388A #8A2E66 #8A802E #2E8A52
square
#2E388A #8A2E66 #8A802E #2E8A52
split-complementary
#2E388A #8A522E #668A2E
monochromatic
#0F132E #1F255C #2E388A #3D4BB8 #6671CC

Accessibility & contrast

On white

10.25
#2E388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E388A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E388A#FFFFFF#000000##FFFFFF
##2E388A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e388a;
/* rgb */ color: rgb(46, 56, 138);
/* oklch */ color: oklch(38.4% 0.136 273.0);
Tailwind
colors: {
  custom: {
    50: '#726ead',
    500: '#2e388a',
    950: '#000000',
  },
}
SCSS
$custom: #2e388a;
$custom-light: #726ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2e388a",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 233.478,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38358,
    "c": 0.13565,
    "h": 273
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#2E388A
secondary
#B3AA61
accent
#CA4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E388A

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

Preview Lab → · Contrast checker → · Palette generator →

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