#3C38B5#3C38B5

#3C38B5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.2% C 0.190 H 276.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3C38B5
RGBrgb(60, 56, 181)
HSLhsl(242, 53%, 46%)
HSVhsv(242, 69%, 71%)
CMYKcmyk(66.9%, 69.1%, 0%, 29%)
CIE-LABlab(32.09, 40.85, -65.48)
CIE-LCHlch(32.09, 77.17, 301.96°)
OKLaboklab(43.17% 0.0208 -0.1891)
OKLCHoklch(43.17% 0.19 276.3)
XYZxyz(11.6154, 7.1242, 44.4701)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38B5 #B1B538
analogous
#3873B5 #3C38B5 #7B38B5
triadic
#3C38B5 #B53C38 #38B53C
tetradic
#3C38B5 #B53873 #B1B538 #38B57B
square
#3C38B5 #B53873 #B1B538 #38B57B
split-complementary
#3C38B5 #B57B38 #73B538
monochromatic
#1D1B58 #2D2A86 #3C38B5 #615DCD #8F8CDB

Accessibility & contrast

On white

8.66
#3C38B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C38B5
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38B5#FFFFFF#000000##FFFFFF
##3C38B51.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3c38b5;
/* rgb */ color: rgb(60, 56, 181);
/* oklch */ color: oklch(43.2% 0.190 276.3);
Tailwind
colors: {
  custom: {
    50: '#8170cc',
    500: '#3c38b5',
    950: '#000000',
  },
}
SCSS
$custom: #3c38b5;
$custom-light: #8170cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38b5",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 241.92,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43173,
    "c": 0.1902,
    "h": 276.3
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#3C38B5
secondary
#C4C683
accent
#DC4CD8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3C38B5

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

Preview Lab → · Contrast checker → · Palette generator →

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