#2E39B6#2E39B6

#2E39B6 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.194 H 271.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2E39B6
RGBrgb(46, 57, 182)
HSLhsl(235, 60%, 45%)
HSVhsv(235, 75%, 71%)
CMYKcmyk(74.7%, 68.7%, 0%, 28.6%)
CIE-LABlab(31.54, 38.97, -67.00)
CIE-LCHlch(31.54, 77.51, 300.19°)
OKLaboklab(42.58% 0.0039 -0.1939)
OKLCHoklch(42.58% 0.194 271.1)
XYZxyz(11.0305, 6.8833, 44.9942)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39B6 #B6AB2E
analogous
#2E7DB6 #2E39B6 #672EB6
triadic
#2E39B6 #B62E39 #39B62E
tetradic
#2E39B6 #B62E7D #B6AB2E #2EB667
square
#2E39B6 #B62E7D #B6AB2E #2EB667
split-complementary
#2E39B6 #B6672E #7DB62E
monochromatic
#151A54 #222A85 #2E39B6 #4F59D2 #8087DF

Accessibility & contrast

On white

8.84
#2E39B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E39B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39B6
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39B6#FFFFFF#000000##FFFFFF
##2E39B61.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e39b6;
/* rgb */ color: rgb(46, 57, 182);
/* oklch */ color: oklch(42.6% 0.194 271.1);
Tailwind
colors: {
  custom: {
    50: '#7c70cd',
    500: '#2e39b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e39b6;
$custom-light: #7c70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39b6",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 235.147,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42577,
    "c": 0.1939,
    "h": 271.1
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#2E39B6
secondary
#C8C178
accent
#D645E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E39B6

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

Preview Lab → · Contrast checker → · Palette generator →

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