#2E3196#2E3196

#2E3196 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.161 H 274.4°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2E3196
RGBrgb(46, 49, 150)
HSLhsl(238, 53%, 38%)
HSVhsv(238, 69%, 59%)
CMYKcmyk(69.3%, 67.3%, 0%, 41.2%)
CIE-LABlab(26.67, 32.67, -55.70)
CIE-LCHlch(26.67, 64.57, 300.40°)
OKLaboklab(38.13% 0.0123 -0.1608)
OKLCHoklch(38.13% 0.161 274.4)
XYZxyz(7.7282, 4.9788, 29.4020)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3196 #96932E
analogous
#2E6596 #2E3196 #5F2E96
triadic
#2E3196 #962E31 #31962E
tetradic
#2E3196 #962E65 #96932E #2E965F
square
#2E3196 #962E65 #96932E #2E965F
split-complementary
#2E3196 #965F2E #65962E
monochromatic
#111238 #202267 #2E3196 #3E41C4 #6C6FD2

Accessibility & contrast

On white

10.52
#2E3196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E3196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3196
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3196#FFFFFF#000000##FFFFFF
##2E31961.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e3196;
/* rgb */ color: rgb(46, 49, 150);
/* oklch */ color: oklch(38.1% 0.161 274.4);
Tailwind
colors: {
  custom: {
    50: '#7569b6',
    500: '#2e3196',
    950: '#000000',
  },
}
SCSS
$custom: #2e3196;
$custom-light: #7569b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3196",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 238.269,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38132,
    "c": 0.16128,
    "h": 274.4
  },
  "luminance": 0.04979
}

Semantic roles & 50–950 ramp

primary
#2E3196
secondary
#B9B767
accent
#D84BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3196

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

Preview Lab → · Contrast checker → · Palette generator →

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