#2E3589#2E3589

#2E3589 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.138 H 274.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2E3589
RGBrgb(46, 53, 137)
HSLhsl(235, 50%, 36%)
HSVhsv(235, 66%, 54%)
CMYKcmyk(66.4%, 61.3%, 0%, 46.3%)
CIE-LABlab(26.54, 25.35, -47.88)
CIE-LCHlch(26.54, 54.18, 297.90°)
OKLaboklab(37.68% 0.0098 -0.1379)
OKLCHoklch(37.68% 0.138 274.1)
XYZxyz(6.9137, 4.9326, 24.2498)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3589 #89822E
analogous
#2E6289 #2E3589 #542E89
triadic
#2E3589 #892E35 #35892E
tetradic
#2E3589 #892E62 #89822E #2E8954
square
#2E3589 #892E62 #89822E #2E8954
split-complementary
#2E3589 #89542E #62892E
monochromatic
#0F122D #1F235B #2E3589 #3D47B7 #666ECC

Accessibility & contrast

On white

10.57
#2E3589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E3589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3589
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3589#FFFFFF#000000##FFFFFF
##2E35891.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e3589;
/* rgb */ color: rgb(46, 53, 137);
/* oklch */ color: oklch(37.7% 0.138 274.1);
Tailwind
colors: {
  custom: {
    50: '#726cac',
    500: '#2e3589',
    950: '#000000',
  },
}
SCSS
$custom: #2e3589;
$custom-light: #726cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3589",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 235.385,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37683,
    "c": 0.13821,
    "h": 274.1
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#2E3589
secondary
#B2AC60
accent
#CF4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E3589

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

Preview Lab → · Contrast checker → · Palette generator →

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