#3C23D4#3C23D4

#3C23D4 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.8% C 0.245 H 275.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3C23D4
RGBrgb(60, 35, 212)
HSLhsl(248, 72%, 48%)
HSVhsv(248, 83%, 83%)
CMYKcmyk(71.7%, 83.5%, 0%, 16.9%)
CIE-LABlab(31.61, 60.98, -84.44)
CIE-LCHlch(31.61, 104.16, 305.84°)
OKLaboklab(43.79% 0.0239 -0.244)
OKLCHoklch(43.79% 0.245 275.6)
XYZxyz(14.3443, 6.9148, 62.8533)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C23D4 #BBD423
analogous
#2362D4 #3C23D4 #9523D4
triadic
#3C23D4 #D43C23 #23D43C
tetradic
#3C23D4 #D42362 #BBD423 #23D495
square
#3C23D4 #D42362 #BBD423 #23D495
split-complementary
#3C23D4 #D49523 #62D423
monochromatic
#1E126B #2D1A9F #3C23D4 #6652E2 #9586EB

Accessibility & contrast

On white

8.81
#3C23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3C23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C23D4
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C23D4#FFFFFF#000000##FFFFFF
##3C23D41.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D9
Deuteranopia (green-blind)
#0042D1
Tritanopia (blue-blind)
#005D7F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3c23d4;
/* rgb */ color: rgb(60, 35, 212);
/* oklch */ color: oklch(43.8% 0.245 275.6);
Tailwind
colors: {
  custom: {
    50: '#8a65e3',
    500: '#3c23d4',
    950: '#000000',
  },
}
SCSS
$custom: #3c23d4;
$custom-light: #8a65e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c23d4",
  "rgb": {
    "r": 60,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 248.475,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.24521,
    "h": 275.6
  },
  "luminance": 0.06916
}

Semantic roles & 50–950 ramp

primary
#3C23D4
secondary
#C8D47E
accent
#EE39D5
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0616
muted
#7E7A84

Preview Lab

Preview with #3C23D4

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

Preview Lab → · Contrast checker → · Palette generator →

#3C23D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva