#2E39AB#2E39AB

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

Color values

HEX#2E39AB
RGBrgb(46, 57, 171)
HSLhsl(235, 58%, 43%)
HSVhsv(235, 73%, 67%)
CMYKcmyk(73.1%, 66.7%, 0%, 32.9%)
CIE-LABlab(30.51, 35.07, -62.13)
CIE-LCHlch(30.51, 71.35, 299.44°)
OKLaboklab(41.52% 0.0049 -0.1796)
OKLCHoklch(41.52% 0.18 271.6)
XYZxyz(9.9380, 6.4464, 39.2407)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39AB #ABA02E
analogous
#2E78AB #2E39AB #612EAB
triadic
#2E39AB #AB2E39 #39AB2E
tetradic
#2E39AB #AB2E78 #ABA02E #2EAB61
square
#2E39AB #AB2E78 #ABA02E #2EAB61
split-complementary
#2E39AB #AB612E #78AB2E
monochromatic
#14194B #21297B #2E39AB #4854CE #7981DB

Accessibility & contrast

On white

9.17
#2E39AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E39AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39AB
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39AB#FFFFFF#000000##FFFFFF
##2E39AB1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e39ab;
/* rgb */ color: rgb(46, 57, 171);
/* oklch */ color: oklch(41.5% 0.180 271.6);
Tailwind
colors: {
  custom: {
    50: '#796fc5',
    500: '#2e39ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e39ab;
$custom-light: #796fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39ab",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 234.72,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41517,
    "c": 0.1797,
    "h": 271.6
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E39AB

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

Preview Lab → · Contrast checker → · Palette generator →

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