#2E3896#2E3896

#2E3896 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.153 H 272.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2E3896
RGBrgb(46, 56, 150)
HSLhsl(234, 53%, 38%)
HSVhsv(234, 69%, 59%)
CMYKcmyk(69.3%, 62.7%, 0%, 41.2%)
CIE-LABlab(28.41, 28.11, -52.86)
CIE-LCHlch(28.41, 59.87, 298.01°)
OKLaboklab(39.4% 0.0069 -0.1525)
OKLCHoklch(39.4% 0.153 272.6)
XYZxyz(8.0441, 5.6104, 29.5073)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3896 #968C2E
analogous
#2E6C96 #2E3896 #582E96
triadic
#2E3896 #962E38 #38962E
tetradic
#2E3896 #962E6C #968C2E #2E9658
square
#2E3896 #962E6C #968C2E #2E9658
split-complementary
#2E3896 #96582E #6C962E
monochromatic
#111538 #202767 #2E3896 #3E4AC4 #6C76D2

Accessibility & contrast

On white

9.90
#2E3896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2E3896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3896
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3896#FFFFFF#000000##FFFFFF
##2E38961.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e3896;
/* rgb */ color: rgb(46, 56, 150);
/* oklch */ color: oklch(39.4% 0.153 272.6);
Tailwind
colors: {
  custom: {
    50: '#756eb6',
    500: '#2e3896',
    950: '#000000',
  },
}
SCSS
$custom: #2e3896;
$custom-light: #756eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3896",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 150
  },
  "hsl": {
    "h": 234.231,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39401,
    "c": 0.15261,
    "h": 272.6
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#2E3896
secondary
#B9B167
accent
#CF4BDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3896

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

Preview Lab → · Contrast checker → · Palette generator →

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