#3C45CC#3C45CC

#3C45CC is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.4% C 0.205 H 272.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#3C45CC
RGBrgb(60, 69, 204)
HSLhsl(236, 59%, 52%)
HSVhsv(236, 71%, 80%)
CMYKcmyk(70.6%, 66.2%, 0%, 20%)
CIE-LABlab(37.07, 40.78, -70.79)
CIE-LCHlch(37.07, 81.70, 299.94°)
OKLaboklab(47.41% 0.0095 -0.2046)
OKLCHoklch(47.41% 0.205 272.7)
XYZxyz(14.8870, 9.5751, 58.1786)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C45CC #CCC33C
analogous
#3C8DCC #3C45CC #7B3CCC
triadic
#3C45CC #CC3C45 #45CC3C
tetradic
#3C45CC #CC3C8D #CCC33C #3CCC7B
square
#3C45CC #CC3C8D #CCC33C #3CCC7B
split-complementary
#3C45CC #CC7B3C #8DCC3C
monochromatic
#1D2370 #2A31A1 #3C45CC #6D73D9 #9DA2E5

Accessibility & contrast

On white

7.20
#3C45CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3C45CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C45CC
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C45CC#FFFFFF#000000##FFFFFF
##3C45CC1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0051C9
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3c45cc;
/* rgb */ color: rgb(60, 69, 204);
/* oklch */ color: oklch(47.4% 0.205 272.7);
Tailwind
colors: {
  custom: {
    50: '#8579dd',
    500: '#3c45cc',
    950: '#000000',
  },
}
SCSS
$custom: #3c45cc;
$custom-light: #8579dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c45cc",
  "rgb": {
    "r": 60,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 236.25,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.20481,
    "h": 272.7
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#3C45CC
secondary
#D1CE92
accent
#D846E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3C45CC

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

Preview Lab → · Contrast checker → · Palette generator →

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