#3C38AC#3C38AC

#3C38AC is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.179 H 277.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3C38AC
RGBrgb(60, 56, 172)
HSLhsl(242, 51%, 45%)
HSVhsv(242, 67%, 67%)
CMYKcmyk(65.1%, 67.4%, 0%, 32.5%)
CIE-LABlab(31.27, 37.84, -61.46)
CIE-LCHlch(31.27, 72.17, 301.62°)
OKLaboklab(42.33% 0.022 -0.1773)
OKLCHoklch(42.33% 0.179 277.1)
XYZxyz(10.7216, 6.7667, 39.7628)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38AC #A8AC38
analogous
#386EAC #3C38AC #7638AC
triadic
#3C38AC #AC3C38 #38AC3C
tetradic
#3C38AC #AC386E #A8AC38 #38AC76
square
#3C38AC #AC386E #A8AC38 #38AC76
split-complementary
#3C38AC #AC7638 #6EAC38
monochromatic
#1C1A50 #2C297E #3C38AC #5C58C9 #8987D8

Accessibility & contrast

On white

8.92
#3C38AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3C38AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38AC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38AC#FFFFFF#000000##FFFFFF
##3C38AC1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3c38ac;
/* rgb */ color: rgb(60, 56, 172);
/* oklch */ color: oklch(42.3% 0.179 277.1);
Tailwind
colors: {
  custom: {
    50: '#806fc6',
    500: '#3c38ac',
    950: '#000000',
  },
}
SCSS
$custom: #3c38ac;
$custom-light: #806fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38ac",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 242.069,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42332,
    "c": 0.17865,
    "h": 277.1
  },
  "luminance": 0.06768
}

Semantic roles & 50–950 ramp

primary
#3C38AC
secondary
#BFC27E
accent
#DA4DD6
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3C38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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