#2E3593#2E3593

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

Color values

HEX#2E3593
RGBrgb(46, 53, 147)
HSLhsl(236, 52%, 38%)
HSVhsv(236, 69%, 58%)
CMYKcmyk(68.7%, 63.9%, 0%, 42.4%)
CIE-LABlab(27.39, 29.00, -52.68)
CIE-LCHlch(27.39, 60.14, 298.83°)
OKLaboklab(38.57% 0.0094 -0.152)
OKLCHoklch(38.57% 0.152 273.6)
XYZxyz(7.6645, 5.2329, 28.2042)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3593 #938C2E
analogous
#2E6793 #2E3593 #5A2E93
triadic
#2E3593 #932E35 #35932E
tetradic
#2E3593 #932E67 #938C2E #2E935A
square
#2E3593 #932E67 #938C2E #2E935A
split-complementary
#2E3593 #935A2E #67932E
monochromatic
#111336 #1F2464 #2E3593 #3D46C2 #6B72D1

Accessibility & contrast

On white

10.26
#2E3593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3593
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3593#FFFFFF#000000##FFFFFF
##2E35931.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3593;
/* rgb */ color: rgb(46, 53, 147);
/* oklch */ color: oklch(38.6% 0.152 273.6);
Tailwind
colors: {
  custom: {
    50: '#746cb4',
    500: '#2e3593',
    950: '#000000',
  },
}
SCSS
$custom: #2e3593;
$custom-light: #746cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3593",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 147
  },
  "hsl": {
    "h": 235.842,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38571,
    "c": 0.15225,
    "h": 273.6
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#2E3593
secondary
#B8B265
accent
#D24CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3593

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

Preview Lab → · Contrast checker → · Palette generator →

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