#2D39CA#2D39CA

#2D39CA is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.5% C 0.219 H 270.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2D39CA
RGBrgb(45, 57, 202)
HSLhsl(235, 64%, 48%)
HSVhsv(235, 78%, 79%)
CMYKcmyk(77.7%, 71.8%, 0%, 20.8%)
CIE-LABlab(33.45, 45.80, -75.61)
CIE-LCHlch(33.45, 88.40, 301.20°)
OKLaboklab(44.53% 0.0005 -0.219)
OKLCHoklch(44.53% 0.219 270.1)
XYZxyz(13.2023, 7.7469, 56.6652)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D39CA #CABE2D
analogous
#2D87CA #2D39CA #6F2DCA
triadic
#2D39CA #CA2D39 #39CA2D
tetradic
#2D39CA #CA2D87 #CABE2D #2DCA6F
square
#2D39CA #CA2D87 #CABE2D #2DCA6F
split-complementary
#2D39CA #CA6F2D #87CA2D
monochromatic
#171D66 #222B98 #2D39CA #5A64DA #8C93E5

Accessibility & contrast

On white

8.24
#2D39CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D39CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D39CA
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D39CA#FFFFFF#000000##FFFFFF
##2D39CA1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d39ca;
/* rgb */ color: rgb(45, 57, 202);
/* oklch */ color: oklch(44.5% 0.219 270.1);
Tailwind
colors: {
  custom: {
    50: '#8070db',
    500: '#2d39ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d39ca;
$custom-light: #8070db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d39ca",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 235.414,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.21898,
    "h": 270.1
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#2D39CA
secondary
#CFCA83
accent
#DA41E7
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2D39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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