#2E3493#2E3493

#2E3493 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.154 H 273.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#2E3493
RGBrgb(46, 52, 147)
HSLhsl(236, 52%, 38%)
HSVhsv(236, 69%, 58%)
CMYKcmyk(68.7%, 64.6%, 0%, 42.4%)
CIE-LABlab(27.14, 29.65, -53.09)
CIE-LCHlch(27.14, 60.81, 299.18°)
OKLaboklab(38.39% 0.0102 -0.1532)
OKLCHoklch(38.39% 0.154 273.8)
XYZxyz(7.6194, 5.1427, 28.1892)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3493 #938D2E
analogous
#2E6693 #2E3493 #5B2E93
triadic
#2E3493 #932E34 #34932E
tetradic
#2E3493 #932E66 #938D2E #2E935B
square
#2E3493 #932E66 #938D2E #2E935B
split-complementary
#2E3493 #935B2E #66932E
monochromatic
#111336 #1F2464 #2E3493 #3D44C2 #6B71D1

Accessibility & contrast

On white

10.35
#2E3493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E3493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3493
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3493#FFFFFF#000000##FFFFFF
##2E34931.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3493;
/* rgb */ color: rgb(46, 52, 147);
/* oklch */ color: oklch(38.4% 0.154 273.8);
Tailwind
colors: {
  custom: {
    50: '#746bb4',
    500: '#2e3493',
    950: '#000000',
  },
}
SCSS
$custom: #2e3493;
$custom-light: #746bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3493",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 147
  },
  "hsl": {
    "h": 236.436,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.15351,
    "h": 273.8
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#2E3493
secondary
#B8B365
accent
#D34CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3493

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

Preview Lab → · Contrast checker → · Palette generator →

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