#2E3592#2E3592

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

Color values

HEX#2E3592
RGBrgb(46, 53, 146)
HSLhsl(236, 52%, 38%)
HSVhsv(236, 68%, 57%)
CMYKcmyk(68.5%, 63.7%, 0%, 42.7%)
CIE-LABlab(27.30, 28.63, -52.21)
CIE-LCHlch(27.30, 59.55, 298.74°)
OKLaboklab(38.48% 0.0095 -0.1506)
OKLCHoklch(38.48% 0.151 273.6)
XYZxyz(7.5864, 5.2017, 27.7928)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3592 #928B2E
analogous
#2E6792 #2E3592 #592E92
triadic
#2E3592 #922E35 #35922E
tetradic
#2E3592 #922E67 #928B2E #2E9259
square
#2E3592 #922E67 #928B2E #2E9259
split-complementary
#2E3592 #92592E #67922E
monochromatic
#111335 #1F2463 #2E3592 #3D46C1 #6A71D0

Accessibility & contrast

On white

10.29
#2E3592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E3592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3592
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3592#FFFFFF#000000##FFFFFF
##2E35921.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e3592;
/* rgb */ color: rgb(46, 53, 146);
/* oklch */ color: oklch(38.5% 0.151 273.6);
Tailwind
colors: {
  custom: {
    50: '#746cb3',
    500: '#2e3592',
    950: '#000000',
  },
}
SCSS
$custom: #2e3592;
$custom-light: #746cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3592",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 146
  },
  "hsl": {
    "h": 235.8,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38481,
    "c": 0.15087,
    "h": 273.6
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#2E3592
secondary
#B7B165
accent
#D14CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3592

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

Preview Lab → · Contrast checker → · Palette generator →

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