#3C45CB#3C45CB

#3C45CB is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.3% C 0.204 H 272.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3C45CB
RGBrgb(60, 69, 203)
HSLhsl(236, 58%, 52%)
HSVhsv(236, 70%, 80%)
CMYKcmyk(70.4%, 66%, 0%, 20.4%)
CIE-LABlab(36.98, 40.43, -70.36)
CIE-LCHlch(36.98, 81.15, 299.89°)
OKLaboklab(47.32% 0.0096 -0.2033)
OKLCHoklch(47.32% 0.204 272.7)
XYZxyz(14.7675, 9.5273, 57.5490)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C45CB #CBC23C
analogous
#3C8DCB #3C45CB #7B3CCB
triadic
#3C45CB #CB3C45 #45CB3C
tetradic
#3C45CB #CB3C8D #CBC23C #3CCB7B
square
#3C45CB #CB3C8D #CBC23C #3CCB7B
split-complementary
#3C45CB #CB7B3C #8DCB3C
monochromatic
#1E236F #2A329F #3C45CB #6C73D8 #9DA1E5

Accessibility & contrast

On white

7.23
#3C45CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3C45CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C45CB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C45CB#FFFFFF#000000##FFFFFF
##3C45CB1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3c45cb;
/* rgb */ color: rgb(60, 69, 203);
/* oklch */ color: oklch(47.3% 0.204 272.7);
Tailwind
colors: {
  custom: {
    50: '#8579dc',
    500: '#3c45cb',
    950: '#000000',
  },
}
SCSS
$custom: #3c45cb;
$custom-light: #8579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c45cb",
  "rgb": {
    "r": 60,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 236.224,
    "s": 57.895,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47323,
    "c": 0.20355,
    "h": 272.7
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#3C45CB
secondary
#D1CD92
accent
#D747E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3C45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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