#2E39B3#2E39B3

#2E39B3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.190 H 271.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2E39B3
RGBrgb(46, 57, 179)
HSLhsl(235, 59%, 44%)
HSVhsv(235, 74%, 70%)
CMYKcmyk(74.3%, 68.2%, 0%, 29.8%)
CIE-LABlab(31.26, 37.92, -65.69)
CIE-LCHlch(31.26, 75.85, 299.99°)
OKLaboklab(42.29% 0.0042 -0.19)
OKLCHoklch(42.29% 0.19 271.3)
XYZxyz(10.7238, 6.7606, 43.3789)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39B3 #B3A82E
analogous
#2E7CB3 #2E39B3 #662EB3
triadic
#2E39B3 #B32E39 #39B32E
tetradic
#2E39B3 #B32E7C #B3A82E #2EB366
square
#2E39B3 #B32E7C #B3A82E #2EB366
split-complementary
#2E39B3 #B3662E #7CB32E
monochromatic
#151A52 #212982 #2E39B3 #4D58D1 #7E86DE

Accessibility & contrast

On white

8.93
#2E39B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E39B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39B3
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39B3#FFFFFF#000000##FFFFFF
##2E39B31.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e39b3;
/* rgb */ color: rgb(46, 57, 179);
/* oklch */ color: oklch(42.3% 0.190 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b70cb',
    500: '#2e39b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e39b3;
$custom-light: #7b70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39b3",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 235.038,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.19007,
    "h": 271.3
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#2E39B3
secondary
#C6C076
accent
#D546E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E39B3

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

Preview Lab → · Contrast checker → · Palette generator →

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