#2E3393#2E3393

#2E3393 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.155 H 274.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2E3393
RGBrgb(46, 51, 147)
HSLhsl(237, 52%, 38%)
HSVhsv(237, 69%, 58%)
CMYKcmyk(68.7%, 65.3%, 0%, 42.4%)
CIE-LABlab(26.89, 30.31, -53.50)
CIE-LCHlch(26.89, 61.49, 299.53°)
OKLaboklab(38.21% 0.011 -0.1544)
OKLCHoklch(38.21% 0.155 274.1)
XYZxyz(7.5753, 5.0544, 28.1745)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3393 #938E2E
analogous
#2E6593 #2E3393 #5C2E93
triadic
#2E3393 #932E33 #33932E
tetradic
#2E3393 #932E65 #938E2E #2E935C
square
#2E3393 #932E65 #938E2E #2E935C
split-complementary
#2E3393 #935C2E #65932E
monochromatic
#111336 #1F2364 #2E3393 #3D43C2 #6B70D1

Accessibility & contrast

On white

10.44
#2E3393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E3393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3393
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3393#FFFFFF#000000##FFFFFF
##2E33931.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e3393;
/* rgb */ color: rgb(46, 51, 147);
/* oklch */ color: oklch(38.2% 0.155 274.1);
Tailwind
colors: {
  custom: {
    50: '#746bb4',
    500: '#2e3393',
    950: '#000000',
  },
}
SCSS
$custom: #2e3393;
$custom-light: #746bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3393",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 237.03,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38205,
    "c": 0.15476,
    "h": 274.1
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#2E3393
secondary
#B8B465
accent
#D54CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3393

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

Preview Lab → · Contrast checker → · Palette generator →

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