#2E39D7#2E39D7

#2E39D7 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.234 H 269.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2E39D7
RGBrgb(46, 57, 215)
HSLhsl(236, 68%, 51%)
HSVhsv(236, 79%, 84%)
CMYKcmyk(78.6%, 73.5%, 0%, 15.7%)
CIE-LABlab(34.83, 50.23, -80.87)
CIE-LCHlch(34.83, 95.20, 301.84°)
OKLaboklab(45.92% -0.0003 -0.2343)
OKLCHoklch(45.92% 0.234 269.9)
XYZxyz(14.8514, 8.4117, 65.1177)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E39D7 #D7CC2E
analogous
#2E8DD7 #2E39D7 #772ED7
triadic
#2E39D7 #D72E39 #39D72E
tetradic
#2E39D7 #D72E8D #D7CC2E #2ED777
square
#2E39D7 #D72E8D #D7CC2E #2ED777
split-complementary
#2E39D7 #D7772E #8DD72E
monochromatic
#161C74 #2029A8 #2E39D7 #616AE1 #959AEB

Accessibility & contrast

On white

7.83
#2E39D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E39D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E39D7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E39D7#FFFFFF#000000##FFFFFF
##2E39D71.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADC
Deuteranopia (green-blind)
#0049D4
Tritanopia (blue-blind)
#006785
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e39d7;
/* rgb */ color: rgb(46, 57, 215);
/* oklch */ color: oklch(45.9% 0.234 269.9);
Tailwind
colors: {
  custom: {
    50: '#8471e5',
    500: '#2e39d7',
    950: '#000000',
  },
}
SCSS
$custom: #2e39d7;
$custom-light: #8471e5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e39d7",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 215
  },
  "hsl": {
    "h": 236.095,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.23426,
    "h": 269.9
  },
  "luminance": 0.08413
}

Semantic roles & 50–950 ramp

primary
#2E39D7
secondary
#D6D18B
accent
#DF3DEB
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #2E39D7

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

Preview Lab → · Contrast checker → · Palette generator →

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