#2E39A9#2E39A9

#2E39A9 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.177 H 271.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2E39A9
RGBrgb(46, 57, 169)
HSLhsl(235, 57%, 42%)
HSVhsv(235, 73%, 66%)
CMYKcmyk(72.8%, 66.3%, 0%, 33.7%)
CIE-LABlab(30.33, 34.36, -61.23)
CIE-LCHlch(30.33, 70.21, 299.29°)
OKLaboklab(41.33% 0.0051 -0.177)
OKLCHoklch(41.33% 0.177 271.6)
XYZxyz(9.7488, 6.3707, 38.2443)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39A9 #A99E2E
analogous
#2E77A9 #2E39A9 #612EA9
triadic
#2E39A9 #A92E39 #39A92E
tetradic
#2E39A9 #A92E77 #A99E2E #2EA961
square
#2E39A9 #A92E77 #A99E2E #2EA961
split-complementary
#2E39A9 #A9612E #77A92E
monochromatic
#141949 #212979 #2E39A9 #4753CD #7780DA

Accessibility & contrast

On white

9.23
#2E39A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E39A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39A9
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39A9#FFFFFF#000000##FFFFFF
##2E39A91.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e39a9;
/* rgb */ color: rgb(46, 57, 169);
/* oklch */ color: oklch(41.3% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#796fc4',
    500: '#2e39a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e39a9;
$custom-light: #796fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39a9",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 169
  },
  "hsl": {
    "h": 234.634,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41328,
    "c": 0.17707,
    "h": 271.6
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#2E39A9
secondary
#C2BB71
accent
#D347E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2E39A9

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

Preview Lab → · Contrast checker → · Palette generator →

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