#2E3689#2E3689

#2E3689 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.137 H 273.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2E3689
RGBrgb(46, 54, 137)
HSLhsl(235, 50%, 36%)
HSVhsv(235, 66%, 54%)
CMYKcmyk(66.4%, 60.6%, 0%, 46.3%)
CIE-LABlab(26.80, 24.68, -47.45)
CIE-LCHlch(26.80, 53.49, 297.47°)
OKLaboklab(37.88% 0.0089 -0.1366)
OKLCHoklch(37.88% 0.137 273.7)
XYZxyz(6.9597, 5.0247, 24.2652)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3689 #89812E
analogous
#2E6389 #2E3689 #532E89
triadic
#2E3689 #892E36 #36892E
tetradic
#2E3689 #892E63 #89812E #2E8953
square
#2E3689 #892E63 #89812E #2E8953
split-complementary
#2E3689 #89532E #63892E
monochromatic
#0F122D #1F245B #2E3689 #3D48B7 #666FCC

Accessibility & contrast

On white

10.47
#2E3689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E3689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3689
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3689#FFFFFF#000000##FFFFFF
##2E36891.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3689;
/* rgb */ color: rgb(46, 54, 137);
/* oklch */ color: oklch(37.9% 0.137 273.7);
Tailwind
colors: {
  custom: {
    50: '#726dac',
    500: '#2e3689',
    950: '#000000',
  },
}
SCSS
$custom: #2e3689;
$custom-light: #726dac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3689",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 234.725,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37878,
    "c": 0.13689,
    "h": 273.7
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#2E3689
secondary
#B2AB60
accent
#CD4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E3689

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

Preview Lab → · Contrast checker → · Palette generator →

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