#2E3389#2E3389

#2E3389 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.141 H 274.7°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2E3389
RGBrgb(46, 51, 137)
HSLhsl(237, 50%, 36%)
HSVhsv(237, 66%, 54%)
CMYKcmyk(66.4%, 62.8%, 0%, 46.3%)
CIE-LABlab(26.02, 26.68, -48.73)
CIE-LCHlch(26.02, 55.56, 298.71°)
OKLaboklab(37.3% 0.0116 -0.1404)
OKLCHoklch(37.3% 0.141 274.7)
XYZxyz(6.8244, 4.7541, 24.2200)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3389 #89842E
analogous
#2E6089 #2E3389 #562E89
triadic
#2E3389 #892E33 #33892E
tetradic
#2E3389 #892E60 #89842E #2E8956
square
#2E3389 #892E60 #89842E #2E8956
split-complementary
#2E3389 #89562E #60892E
monochromatic
#0F112D #1F225B #2E3389 #3D44B7 #666BCC

Accessibility & contrast

On white

10.76
#2E3389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E3389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3389
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3389#FFFFFF#000000##FFFFFF
##2E33891.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3389;
/* rgb */ color: rgb(46, 51, 137);
/* oklch */ color: oklch(37.3% 0.141 274.7);
Tailwind
colors: {
  custom: {
    50: '#726aac',
    500: '#2e3389',
    950: '#000000',
  },
}
SCSS
$custom: #2e3389;
$custom-light: #726aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3389",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 236.703,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37299,
    "c": 0.14085,
    "h": 274.7
  },
  "luminance": 0.04755
}

Semantic roles & 50–950 ramp

primary
#2E3389
secondary
#B2AE60
accent
#D24FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E3389

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

Preview Lab → · Contrast checker → · Palette generator →

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