#2E3390#2E3390

#2E3390 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.151 H 274.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2E3390
RGBrgb(46, 51, 144)
HSLhsl(237, 52%, 37%)
HSVhsv(237, 68%, 56%)
CMYKcmyk(68.1%, 64.6%, 0%, 43.5%)
CIE-LABlab(26.62, 29.22, -52.08)
CIE-LCHlch(26.62, 59.72, 299.30°)
OKLaboklab(37.93% 0.0112 -0.1502)
OKLCHoklch(37.93% 0.151 274.3)
XYZxyz(7.3429, 4.9615, 26.9508)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3390 #908B2E
analogous
#2E6490 #2E3390 #5A2E90
triadic
#2E3390 #902E33 #33902E
tetradic
#2E3390 #902E64 #908B2E #2E905A
square
#2E3390 #902E64 #908B2E #2E905A
split-complementary
#2E3390 #905A2E #64902E
monochromatic
#101233 #1F2362 #2E3390 #3D43BE #696ECF

Accessibility & contrast

On white

10.54
#2E3390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E3390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3390
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3390#FFFFFF#000000##FFFFFF
##2E33901.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e3390;
/* rgb */ color: rgb(46, 51, 144);
/* oklch */ color: oklch(37.9% 0.151 274.3);
Tailwind
colors: {
  custom: {
    50: '#746bb1',
    500: '#2e3390',
    950: '#000000',
  },
}
SCSS
$custom: #2e3390;
$custom-light: #746bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3390",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 236.939,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37929,
    "c": 0.15064,
    "h": 274.3
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#2E3390
secondary
#B6B264
accent
#D44DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3390

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

Preview Lab → · Contrast checker → · Palette generator →

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