#2E39BD#2E39BD

#2E39BD is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.3% C 0.203 H 270.9°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2E39BD
RGBrgb(46, 57, 189)
HSLhsl(235, 61%, 46%)
HSVhsv(235, 76%, 74%)
CMYKcmyk(75.7%, 69.8%, 0%, 25.9%)
CIE-LABlab(32.21, 41.42, -70.03)
CIE-LCHlch(32.21, 81.36, 300.60°)
OKLaboklab(43.27% 0.0031 -0.2027)
OKLCHoklch(43.27% 0.203 270.9)
XYZxyz(11.7720, 7.1800, 48.8997)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39BD #BDB22E
analogous
#2E80BD #2E39BD #6A2EBD
triadic
#2E39BD #BD2E39 #39BD2E
tetradic
#2E39BD #BD2E80 #BDB22E #2EBD6A
square
#2E39BD #BD2E80 #BDB22E #2EBD6A
split-complementary
#2E39BD #BD6A2E #80BD2E
monochromatic
#161B5B #222A8C #2E39BD #535DD5 #848BE1

Accessibility & contrast

On white

8.62
#2E39BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2E39BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39BD
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39BD#FFFFFF#000000##FFFFFF
##2E39BD1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0045BB
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e39bd;
/* rgb */ color: rgb(46, 57, 189);
/* oklch */ color: oklch(43.3% 0.203 270.9);
Tailwind
colors: {
  custom: {
    50: '#7e70d2',
    500: '#2e39bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e39bd;
$custom-light: #7e70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39bd",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 235.385,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43267,
    "c": 0.20273,
    "h": 270.9
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E39BD

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

Preview Lab → · Contrast checker → · Palette generator →

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