#2E39AA#2E39AA

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

Color values

HEX#2E39AA
RGBrgb(46, 57, 170)
HSLhsl(235, 57%, 42%)
HSVhsv(235, 73%, 67%)
CMYKcmyk(72.9%, 66.5%, 0%, 33.3%)
CIE-LABlab(30.42, 34.71, -61.69)
CIE-LCHlch(30.42, 70.78, 299.37°)
OKLaboklab(41.42% 0.005 -0.1783)
OKLCHoklch(41.42% 0.178 271.6)
XYZxyz(9.8431, 6.4084, 38.7406)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39AA #AA9F2E
analogous
#2E77AA #2E39AA #612EAA
triadic
#2E39AA #AA2E39 #39AA2E
tetradic
#2E39AA #AA2E77 #AA9F2E #2EAA61
square
#2E39AA #AA2E77 #AA9F2E #2EAA61
split-complementary
#2E39AA #AA612E #77AA2E
monochromatic
#14194A #21297A #2E39AA #4854CD #7881DA

Accessibility & contrast

On white

9.20
#2E39AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E39AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39AA
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39AA#FFFFFF#000000##FFFFFF
##2E39AA1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e39aa;
/* rgb */ color: rgb(46, 57, 170);
/* oklch */ color: oklch(41.4% 0.178 271.6);
Tailwind
colors: {
  custom: {
    50: '#796fc4',
    500: '#2e39aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e39aa;
$custom-light: #796fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39aa",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 234.677,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41422,
    "c": 0.17838,
    "h": 271.6
  },
  "luminance": 0.06409
}

Semantic roles & 50–950 ramp

primary
#2E39AA
secondary
#C3BB71
accent
#D347E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2E39AA

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

Preview Lab → · Contrast checker → · Palette generator →

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