#2E3096#2E3096

#2E3096 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.162 H 274.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2E3096
RGBrgb(46, 48, 150)
HSLhsl(239, 53%, 38%)
HSVhsv(239, 69%, 59%)
CMYKcmyk(69.3%, 68%, 0%, 41.2%)
CIE-LABlab(26.44, 33.31, -56.08)
CIE-LCHlch(26.44, 65.23, 300.71°)
OKLaboklab(37.96% 0.013 -0.162)
OKLCHoklch(37.96% 0.162 274.6)
XYZxyz(7.6869, 4.8961, 29.3882)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3096 #96942E
analogous
#2E6496 #2E3096 #602E96
triadic
#2E3096 #962E30 #30962E
tetradic
#2E3096 #962E64 #96942E #2E9660
square
#2E3096 #962E64 #96942E #2E9660
split-complementary
#2E3096 #96602E #64962E
monochromatic
#111238 #202167 #2E3096 #3E40C4 #6C6ED2

Accessibility & contrast

On white

10.61
#2E3096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E3096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3096
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3096#FFFFFF#000000##FFFFFF
##2E30961.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e3096;
/* rgb */ color: rgb(46, 48, 150);
/* oklch */ color: oklch(38.0% 0.162 274.6);
Tailwind
colors: {
  custom: {
    50: '#7569b6',
    500: '#2e3096',
    950: '#000000',
  },
}
SCSS
$custom: #2e3096;
$custom-light: #7569b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3096",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 150
  },
  "hsl": {
    "h": 238.846,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37959,
    "c": 0.16248,
    "h": 274.6
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#2E3096
secondary
#B9B867
accent
#DA4BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E3096

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

Preview Lab → · Contrast checker → · Palette generator →

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