#3C38CB#3C38CB

#3C38CB is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.217 H 274.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3C38CB
RGBrgb(60, 56, 203)
HSLhsl(242, 59%, 51%)
HSVhsv(242, 72%, 80%)
CMYKcmyk(70.4%, 72.4%, 0%, 20.4%)
CIE-LABlab(34.19, 48.06, -74.95)
CIE-LCHlch(34.19, 89.04, 302.67°)
OKLaboklab(45.31% 0.0173 -0.2167)
OKLCHoklch(45.31% 0.217 274.6)
XYZxyz(14.0536, 8.0994, 57.3111)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C38CB #C7CB38
analogous
#387DCB #3C38CB #8638CB
triadic
#3C38CB #CB3C38 #38CB3C
tetradic
#3C38CB #CB387D #C7CB38 #38CB86
square
#3C38CB #CB387D #C7CB38 #38CB86
split-complementary
#3C38CB #CB8638 #7DCB38
monochromatic
#1E1C6C #2C299D #3C38CB #6C69D8 #9B99E4

Accessibility & contrast

On white

8.01
#3C38CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3C38CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C38CB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C38CB#FFFFFF#000000##FFFFFF
##3C38CB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004AC8
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3c38cb;
/* rgb */ color: rgb(60, 56, 203);
/* oklch */ color: oklch(45.3% 0.217 274.6);
Tailwind
colors: {
  custom: {
    50: '#8670dc',
    500: '#3c38cb',
    950: '#000000',
  },
}
SCSS
$custom: #3c38cb;
$custom-light: #8670dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c38cb",
  "rgb": {
    "r": 60,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 241.633,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45313,
    "c": 0.21741,
    "h": 274.6
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#3C38CB
secondary
#CED08F
accent
#E246DE
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3C38CB

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

Preview Lab → · Contrast checker → · Palette generator →

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