#2E39B0#2E39B0

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

Color values

HEX#2E39B0
RGBrgb(46, 57, 176)
HSLhsl(235, 59%, 44%)
HSVhsv(235, 74%, 69%)
CMYKcmyk(73.9%, 67.6%, 0%, 31%)
CIE-LABlab(30.97, 36.85, -64.36)
CIE-LCHlch(30.97, 74.17, 299.80°)
OKLaboklab(42% 0.0045 -0.1861)
OKLCHoklch(42% 0.186 271.4)
XYZxyz(10.4237, 6.6406, 41.7983)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39B0 #B0A52E
analogous
#2E7AB0 #2E39B0 #642EB0
triadic
#2E39B0 #B02E39 #39B02E
tetradic
#2E39B0 #B02E7A #B0A52E #2EB064
square
#2E39B0 #B02E7A #B0A52E #2EB064
split-complementary
#2E39B0 #B0642E #7AB02E
monochromatic
#151A4F #21297F #2E39B0 #4B56D0 #7C84DD

Accessibility & contrast

On white

9.02
#2E39B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E39B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39B0
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39B0#FFFFFF#000000##FFFFFF
##2E39B01.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e39b0;
/* rgb */ color: rgb(46, 57, 176);
/* oklch */ color: oklch(42.0% 0.186 271.4);
Tailwind
colors: {
  custom: {
    50: '#7b70c9',
    500: '#2e39b0',
    950: '#000000',
  },
}
SCSS
$custom: #2e39b0;
$custom-light: #7b70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39b0",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 234.923,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41995,
    "c": 0.1862,
    "h": 271.4
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

primary
#2E39B0
secondary
#C5BE75
accent
#D546E2
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E39B0

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

Preview Lab → · Contrast checker → · Palette generator →

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