#2E3988#2E3988

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

Color values

HEX#2E3988
RGBrgb(46, 57, 136)
HSLhsl(233, 49%, 36%)
HSVhsv(233, 66%, 53%)
CMYKcmyk(66.2%, 58.1%, 0%, 46.7%)
CIE-LABlab(27.53, 22.28, -45.66)
CIE-LCHlch(27.53, 50.80, 296.01°)
OKLaboklab(38.39% 0.006 -0.1313)
OKLCHoklch(38.39% 0.131 272.6)
XYZxyz(7.0323, 5.2841, 23.9371)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3988 #887D2E
analogous
#2E6688 #2E3988 #502E88
triadic
#2E3988 #882E39 #39882E
tetradic
#2E3988 #882E66 #887D2E #2E8850
square
#2E3988 #882E66 #887D2E #2E8850
split-complementary
#2E3988 #88502E #66882E
monochromatic
#0F132D #1F265A #2E3988 #3D4CB6 #6572CB

Accessibility & contrast

On white

10.21
#2E3988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2E3988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3988
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3988#FFFFFF#000000##FFFFFF
##2E39881.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e3988;
/* rgb */ color: rgb(46, 57, 136);
/* oklch */ color: oklch(38.4% 0.131 272.6);
Tailwind
colors: {
  custom: {
    50: '#716fab',
    500: '#2e3988',
    950: '#000000',
  },
}
SCSS
$custom: #2e3988;
$custom-light: #716fab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3988",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 232.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38392,
    "c": 0.13142,
    "h": 272.6
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#2E3988
secondary
#B2A860
accent
#C84FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2E3988

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

Preview Lab → · Contrast checker → · Palette generator →

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