#3C38B4#3C38B4

#3C38B4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.189 H 276.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3C38B4
RGBrgb(60, 56, 180)
HSLhsl(242, 53%, 46%)
HSVhsv(242, 69%, 71%)
CMYKcmyk(66.7%, 68.9%, 0%, 29.4%)
CIE-LABlab(32.00, 40.52, -65.04)
CIE-LCHlch(32.00, 76.62, 301.92°)
OKLaboklab(43.08% 0.021 -0.1878)
OKLCHoklch(43.08% 0.189 276.4)
XYZxyz(11.5132, 7.0833, 43.9316)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38B4 #B0B438
analogous
#3872B4 #3C38B4 #7A38B4
triadic
#3C38B4 #B43C38 #38B43C
tetradic
#3C38B4 #B43872 #B0B438 #38B47A
square
#3C38B4 #B43872 #B0B438 #38B47A
split-complementary
#3C38B4 #B47A38 #72B438
monochromatic
#1D1B57 #2C2985 #3C38B4 #605DCD #8E8BDB

Accessibility & contrast

On white

8.69
#3C38B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3C38B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38B4
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38B4#FFFFFF#000000##FFFFFF
##3C38B41.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0046B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3c38b4;
/* rgb */ color: rgb(60, 56, 180);
/* oklch */ color: oklch(43.1% 0.189 276.4);
Tailwind
colors: {
  custom: {
    50: '#8170cc',
    500: '#3c38b4',
    950: '#000000',
  },
}
SCSS
$custom: #3c38b4;
$custom-light: #8170cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38b4",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 241.935,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43079,
    "c": 0.18893,
    "h": 276.4
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#3C38B4
secondary
#C3C582
accent
#DC4CD7
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3C38B4

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

Preview Lab → · Contrast checker → · Palette generator →

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