#2C39CC#2C39CC

#2C39CC is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.7% C 0.222 H 269.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#2C39CC
RGBrgb(44, 57, 204)
HSLhsl(235, 65%, 49%)
HSVhsv(235, 78%, 80%)
CMYKcmyk(78.4%, 72.1%, 0%, 20%)
CIE-LABlab(33.60, 46.40, -76.52)
CIE-LCHlch(33.60, 89.49, 301.23°)
OKLaboklab(44.69% -0.0008 -0.2216)
OKLCHoklch(44.69% 0.222 269.8)
XYZxyz(13.3972, 7.8198, 57.9183)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C39CC #CCBF2C
analogous
#2C89CC #2C39CC #6F2CCC
triadic
#2C39CC #CC2C39 #39CC2C
tetradic
#2C39CC #CC2C89 #CCBF2C #2CCC6F
square
#2C39CC #CC2C89 #CCBF2C #2CCC6F
split-complementary
#2C39CC #CC6F2C #89CC2C
monochromatic
#161D67 #212B9A #2C39CC #5A64DB #8C93E6

Accessibility & contrast

On white

8.19
#2C39CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2C39CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C39CC
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C39CC#FFFFFF#000000##FFFFFF
##2C39CC1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#0047C9
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c39cc;
/* rgb */ color: rgb(44, 57, 204);
/* oklch */ color: oklch(44.7% 0.222 269.8);
Tailwind
colors: {
  custom: {
    50: '#8170dd',
    500: '#2c39cc',
    950: '#000000',
  },
}
SCSS
$custom: #2c39cc;
$custom-light: #8170dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c39cc",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 235.125,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44687,
    "c": 0.22165,
    "h": 269.8
  },
  "luminance": 0.07821
}

Semantic roles & 50–950 ramp

primary
#2C39CC
secondary
#D0CA83
accent
#DA40E8
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2C39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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