#2D39CE#2D39CE

#2D39CE is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.224 H 270.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2D39CE
RGBrgb(45, 57, 206)
HSLhsl(236, 64%, 49%)
HSVhsv(236, 78%, 81%)
CMYKcmyk(78.2%, 72.3%, 0%, 19.2%)
CIE-LABlab(33.86, 47.15, -77.27)
CIE-LCHlch(33.86, 90.52, 301.39°)
OKLaboklab(44.94% -0.0001 -0.2238)
OKLCHoklch(44.94% 0.224 270)
XYZxyz(13.6821, 7.9388, 59.1918)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D39CE #CEC22D
analogous
#2D8ACE #2D39CE #722DCE
triadic
#2D39CE #CE2D39 #39CE2D
tetradic
#2D39CE #CE2D8A #CEC22D #2DCE72
square
#2D39CE #CE2D8A #CEC22D #2DCE72
split-complementary
#2D39CE #CE722D #8ACE2D
monochromatic
#171D6A #222B9C #2D39CE #5D66DC #8F95E7

Accessibility & contrast

On white

8.11
#2D39CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D39CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D39CE
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D39CE#FFFFFF#000000##FFFFFF
##2D39CE1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D2
Deuteranopia (green-blind)
#0048CB
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d39ce;
/* rgb */ color: rgb(45, 57, 206);
/* oklch */ color: oklch(44.9% 0.224 270.0);
Tailwind
colors: {
  custom: {
    50: '#8171de',
    500: '#2d39ce',
    950: '#000000',
  },
}
SCSS
$custom: #2d39ce;
$custom-light: #8171de;
$custom-dark: #000000;
JSON
{
  "hex": "#2d39ce",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 235.528,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.22381,
    "h": 270
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#2D39CE
secondary
#D1CB86
accent
#DB41E7
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2D39CE

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

Preview Lab → · Contrast checker → · Palette generator →

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