#2E3382#2E3382

#2E3382 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.131 H 275.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2E3382
RGBrgb(46, 51, 130)
HSLhsl(236, 48%, 35%)
HSVhsv(236, 65%, 51%)
CMYKcmyk(64.6%, 60.8%, 0%, 49%)
CIE-LABlab(25.44, 24.13, -45.30)
CIE-LCHlch(25.44, 51.33, 298.05°)
OKLaboklab(36.69% 0.0118 -0.1303)
OKLCHoklch(36.69% 0.131 275.2)
XYZxyz(6.3385, 4.5597, 21.6608)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3382 #827D2E
analogous
#2E5D82 #2E3382 #532E82
triadic
#2E3382 #822E33 #33822E
tetradic
#2E3382 #822E5D #827D2E #2E8253
square
#2E3382 #822E5D #827D2E #2E8253
split-complementary
#2E3382 #82532E #5D822E
monochromatic
#0E1028 #1E2155 #2E3382 #3E45AF #6369C8

Accessibility & contrast

On white

10.98
#2E3382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E3382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3382
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3382#FFFFFF#000000##FFFFFF
##2E33821.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004085
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e3382;
/* rgb */ color: rgb(46, 51, 130);
/* oklch */ color: oklch(36.7% 0.131 275.2);
Tailwind
colors: {
  custom: {
    50: '#716aa7',
    500: '#2e3382',
    950: '#000000',
  },
}
SCSS
$custom: #2e3382;
$custom-light: #716aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3382",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 236.429,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36688,
    "c": 0.13083,
    "h": 275.2
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#2E3382
secondary
#AEAA5D
accent
#CF50D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E3382

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

Preview Lab → · Contrast checker → · Palette generator →

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