#2E39B7#2E39B7

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

Color values

HEX#2E39B7
RGBrgb(46, 57, 183)
HSLhsl(235, 60%, 45%)
HSVhsv(235, 75%, 72%)
CMYKcmyk(74.9%, 68.9%, 0%, 28.2%)
CIE-LABlab(31.64, 39.33, -67.44)
CIE-LCHlch(31.64, 78.07, 300.25°)
OKLaboklab(42.68% 0.0038 -0.1951)
OKLCHoklch(42.68% 0.195 271.1)
XYZxyz(11.1342, 6.9248, 45.5404)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39B7 #B7AC2E
analogous
#2E7EB7 #2E39B7 #672EB7
triadic
#2E39B7 #B72E39 #39B72E
tetradic
#2E39B7 #B72E7E #B7AC2E #2EB767
square
#2E39B7 #B72E7E #B7AC2E #2EB767
split-complementary
#2E39B7 #B7672E #7EB72E
monochromatic
#151B55 #222A86 #2E39B7 #4F5AD3 #8088DF

Accessibility & contrast

On white

8.80
#2E39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39B7
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39B7#FFFFFF#000000##FFFFFF
##2E39B71.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e39b7;
/* rgb */ color: rgb(46, 57, 183);
/* oklch */ color: oklch(42.7% 0.195 271.1);
Tailwind
colors: {
  custom: {
    50: '#7c70ce',
    500: '#2e39b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e39b7;
$custom-light: #7c70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39b7",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 235.182,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.19517,
    "h": 271.1
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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