#2E3496#2E3496

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

Color values

HEX#2E3496
RGBrgb(46, 52, 150)
HSLhsl(237, 53%, 38%)
HSVhsv(237, 69%, 59%)
CMYKcmyk(69.3%, 65.3%, 0%, 41.2%)
CIE-LABlab(27.40, 30.74, -54.50)
CIE-LCHlch(27.40, 62.57, 299.42°)
OKLaboklab(38.66% 0.01 -0.1573)
OKLCHoklch(38.66% 0.158 273.6)
XYZxyz(7.8579, 5.2381, 29.4452)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3496 #96902E
analogous
#2E6896 #2E3496 #5C2E96
triadic
#2E3496 #962E34 #34962E
tetradic
#2E3496 #962E68 #96902E #2E965C
square
#2E3496 #962E68 #96902E #2E965C
split-complementary
#2E3496 #965C2E #68962E
monochromatic
#111438 #202467 #2E3496 #3E45C4 #6C72D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3496#FFFFFF#000000##FFFFFF
##2E34961.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)
#004699
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e3496;
/* rgb */ color: rgb(46, 52, 150);
/* oklch */ color: oklch(38.7% 0.158 273.6);
Tailwind
colors: {
  custom: {
    50: '#756bb6',
    500: '#2e3496',
    950: '#000000',
  },
}
SCSS
$custom: #2e3496;
$custom-light: #756bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3496",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 150
  },
  "hsl": {
    "h": 236.538,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38663,
    "c": 0.15762,
    "h": 273.6
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#2E3496
secondary
#B9B467
accent
#D44BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3496

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

Preview Lab → · Contrast checker → · Palette generator →

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