#2E3489#2E3489

#2E3489 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.140 H 274.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2E3489
RGBrgb(46, 52, 137)
HSLhsl(236, 50%, 36%)
HSVhsv(236, 66%, 54%)
CMYKcmyk(66.4%, 62%, 0%, 46.3%)
CIE-LABlab(26.28, 26.02, -48.31)
CIE-LCHlch(26.28, 54.87, 298.31°)
OKLaboklab(37.49% 0.0107 -0.1391)
OKLCHoklch(37.49% 0.14 274.4)
XYZxyz(6.8686, 4.8424, 24.2348)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3489 #89832E
analogous
#2E6189 #2E3489 #552E89
triadic
#2E3489 #892E34 #34892E
tetradic
#2E3489 #892E61 #89832E #2E8955
square
#2E3489 #892E61 #89832E #2E8955
split-complementary
#2E3489 #89552E #61892E
monochromatic
#0F112D #1F235B #2E3489 #3D45B7 #666DCC

Accessibility & contrast

On white

10.67
#2E3489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E3489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3489
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3489#FFFFFF#000000##FFFFFF
##2E34891.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3489;
/* rgb */ color: rgb(46, 52, 137);
/* oklch */ color: oklch(37.5% 0.140 274.4);
Tailwind
colors: {
  custom: {
    50: '#726bac',
    500: '#2e3489',
    950: '#000000',
  },
}
SCSS
$custom: #2e3489;
$custom-light: #726bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3489",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 137
  },
  "hsl": {
    "h": 236.044,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3749,
    "c": 0.13953,
    "h": 274.4
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#2E3489
secondary
#B2AD60
accent
#D04FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E3489

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

Preview Lab → · Contrast checker → · Palette generator →

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