#2E39BF#2E39BF

#2E39BF is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.5% C 0.205 H 270.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2E39BF
RGBrgb(46, 57, 191)
HSLhsl(235, 61%, 46%)
HSVhsv(235, 76%, 75%)
CMYKcmyk(75.9%, 70.2%, 0%, 25.1%)
CIE-LABlab(32.41, 42.11, -70.89)
CIE-LCHlch(32.41, 82.46, 300.71°)
OKLaboklab(43.47% 0.0029 -0.2052)
OKLCHoklch(43.47% 0.205 270.8)
XYZxyz(11.9906, 7.2674, 50.0509)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39BF #BFB42E
analogous
#2E82BF #2E39BF #6C2EBF
triadic
#2E39BF #BF2E39 #39BF2E
tetradic
#2E39BF #BF2E82 #BFB42E #2EBF6C
square
#2E39BF #BF2E82 #BFB42E #2EBF6C
split-complementary
#2E39BF #BF6C2E #82BF2E
monochromatic
#161C5C #222A8E #2E39BF #545ED6 #868DE2

Accessibility & contrast

On white

8.56
#2E39BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E39BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39BF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39BF#FFFFFF#000000##FFFFFF
##2E39BF1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0045BD
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e39bf;
/* rgb */ color: rgb(46, 57, 191);
/* oklch */ color: oklch(43.5% 0.205 270.8);
Tailwind
colors: {
  custom: {
    50: '#7e70d4',
    500: '#2e39bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e39bf;
$custom-light: #7e70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39bf",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 235.448,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43466,
    "c": 0.20522,
    "h": 270.8
  },
  "luminance": 0.07269
}

Semantic roles & 50–950 ramp

primary
#2E39BF
secondary
#CBC57E
accent
#D844E4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2E39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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