#2E3384#2E3384

#2E3384 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.134 H 275.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2E3384
RGBrgb(46, 51, 132)
HSLhsl(237, 48%, 35%)
HSVhsv(237, 65%, 52%)
CMYKcmyk(65.2%, 61.4%, 0%, 48.2%)
CIE-LABlab(25.61, 24.86, -46.29)
CIE-LCHlch(25.61, 52.54, 298.24°)
OKLaboklab(36.86% 0.0117 -0.1332)
OKLCHoklch(36.86% 0.134 275)
XYZxyz(6.4740, 4.6139, 22.3747)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3384 #847F2E
analogous
#2E5E84 #2E3384 #542E84
triadic
#2E3384 #842E33 #33842E
tetradic
#2E3384 #842E5E #847F2E #2E8454
square
#2E3384 #842E5E #847F2E #2E8454
split-complementary
#2E3384 #84542E #5E842E
monochromatic
#0E1029 #1E2157 #2E3384 #3E45B1 #6469C9

Accessibility & contrast

On white

10.92
#2E3384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E3384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3384
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3384#FFFFFF#000000##FFFFFF
##2E33841.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e3384;
/* rgb */ color: rgb(46, 51, 132);
/* oklch */ color: oklch(36.9% 0.134 275.0);
Tailwind
colors: {
  custom: {
    50: '#716aa8',
    500: '#2e3384',
    950: '#000000',
  },
}
SCSS
$custom: #2e3384;
$custom-light: #716aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3384",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 132
  },
  "hsl": {
    "h": 236.512,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36861,
    "c": 0.13371,
    "h": 275
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#2E3384
secondary
#B0AB5E
accent
#D050D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2E3384

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

Preview Lab → · Contrast checker → · Palette generator →

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