#3C38BB#3C38BB

#3C38BB is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.198 H 275.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3C38BB
RGBrgb(60, 56, 187)
HSLhsl(242, 54%, 48%)
HSVhsv(242, 70%, 73%)
CMYKcmyk(67.9%, 70.1%, 0%, 26.7%)
CIE-LABlab(32.65, 42.84, -68.11)
CIE-LCHlch(32.65, 80.46, 302.17°)
OKLaboklab(43.75% 0.0199 -0.1967)
OKLCHoklch(43.75% 0.198 275.8)
XYZxyz(12.2443, 7.3758, 47.7825)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38BB #B7BB38
analogous
#3876BB #3C38BB #7D38BB
triadic
#3C38BB #BB3C38 #38BB3C
tetradic
#3C38BB #BB3876 #B7BB38 #38BB7D
square
#3C38BB #BB3876 #B7BB38 #38BB7D
split-complementary
#3C38BB #BB7D38 #76BB38
monochromatic
#1E1C5D #2D2A8C #3C38BB #6461D0 #9290DE

Accessibility & contrast

On white

8.48
#3C38BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3C38BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38BB
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38BB#FFFFFF#000000##FFFFFF
##3C38BB1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3c38bb;
/* rgb */ color: rgb(60, 56, 187);
/* oklch */ color: oklch(43.7% 0.198 275.8);
Tailwind
colors: {
  custom: {
    50: '#8370d1',
    500: '#3c38bb',
    950: '#000000',
  },
}
SCSS
$custom: #3c38bb;
$custom-light: #8370d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38bb",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 241.832,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.19776,
    "h": 275.8
  },
  "luminance": 0.07377
}

Semantic roles & 50–950 ramp

primary
#3C38BB
secondary
#C6C886
accent
#DD4BD9
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3C38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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