#2E39AE#2E39AE

#2E39AE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.184 H 271.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2E39AE
RGBrgb(46, 57, 174)
HSLhsl(235, 58%, 43%)
HSVhsv(235, 74%, 68%)
CMYKcmyk(73.6%, 67.2%, 0%, 31.8%)
CIE-LABlab(30.79, 36.14, -63.48)
CIE-LCHlch(30.79, 73.05, 299.66°)
OKLaboklab(41.8% 0.0046 -0.1835)
OKLCHoklch(41.8% 0.184 271.4)
XYZxyz(10.2272, 6.5620, 40.7638)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39AE #AEA32E
analogous
#2E79AE #2E39AE #632EAE
triadic
#2E39AE #AE2E39 #39AE2E
tetradic
#2E39AE #AE2E79 #AEA32E #2EAE63
square
#2E39AE #AE2E79 #AEA32E #2EAE63
split-complementary
#2E39AE #AE632E #79AE2E
monochromatic
#14194D #21297E #2E39AE #4A55CF #7A83DC

Accessibility & contrast

On white

9.08
#2E39AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E39AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39AE
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39AE#FFFFFF#000000##FFFFFF
##2E39AE1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e39ae;
/* rgb */ color: rgb(46, 57, 174);
/* oklch */ color: oklch(41.8% 0.184 271.4);
Tailwind
colors: {
  custom: {
    50: '#7a6fc7',
    500: '#2e39ae',
    950: '#000000',
  },
}
SCSS
$custom: #2e39ae;
$custom-light: #7a6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39ae",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 234.844,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41803,
    "c": 0.18361,
    "h": 271.4
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#2E39AE
secondary
#C4BD74
accent
#D446E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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