#2E3192#2E3192

#2E3192 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.156 H 274.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#2E3192
RGBrgb(46, 49, 146)
HSLhsl(238, 52%, 38%)
HSVhsv(238, 68%, 57%)
CMYKcmyk(68.5%, 66.4%, 0%, 42.7%)
CIE-LABlab(26.31, 31.25, -53.83)
CIE-LCHlch(26.31, 62.24, 300.13°)
OKLaboklab(37.75% 0.0127 -0.1554)
OKLCHoklch(37.75% 0.156 274.7)
XYZxyz(7.4116, 4.8521, 27.7345)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3192 #928F2E
analogous
#2E6392 #2E3192 #5D2E92
triadic
#2E3192 #922E31 #31922E
tetradic
#2E3192 #922E63 #928F2E #2E925D
square
#2E3192 #922E63 #928F2E #2E925D
split-complementary
#2E3192 #925D2E #63922E
monochromatic
#111235 #1F2163 #2E3192 #3D41C1 #6A6DD0

Accessibility & contrast

On white

10.66
#2E3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3192
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3192#FFFFFF#000000##FFFFFF
##2E31921.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3192;
/* rgb */ color: rgb(46, 49, 146);
/* oklch */ color: oklch(37.8% 0.156 274.7);
Tailwind
colors: {
  custom: {
    50: '#7469b3',
    500: '#2e3192',
    950: '#000000',
  },
}
SCSS
$custom: #2e3192;
$custom-light: #7469b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3192",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 238.2,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37754,
    "c": 0.15588,
    "h": 274.7
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#2E3192
secondary
#B7B565
accent
#D74CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E3192

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

Preview Lab → · Contrast checker → · Palette generator →

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