#3C45D4#3C45D4

#3C45D4 is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.2% C 0.215 H 272.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#3C45D4
RGBrgb(60, 69, 212)
HSLhsl(236, 64%, 53%)
HSVhsv(236, 72%, 83%)
CMYKcmyk(71.7%, 67.5%, 0%, 16.9%)
CIE-LABlab(37.79, 43.50, -74.24)
CIE-LCHlch(37.79, 86.04, 300.37°)
OKLaboklab(48.15% 0.0087 -0.2147)
OKLCHoklch(48.15% 0.215 272.3)
XYZxyz(15.8713, 9.9688, 63.3623)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C45D4 #D4CB3C
analogous
#3C91D4 #3C45D4 #7F3CD4
triadic
#3C45D4 #D43C45 #45D43C
tetradic
#3C45D4 #D43C91 #D4CB3C #3CD47F
square
#3C45D4 #D43C91 #D4CB3C #3CD47F
split-complementary
#3C45D4 #D47F3C #91D43C
monochromatic
#1B217B #262EAD #3C45D4 #6E75DF #A0A5EA

Accessibility & contrast

On white

7.01
#3C45D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3C45D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C45D4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C45D4#FFFFFF#000000##FFFFFF
##3C45D41.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D8
Deuteranopia (green-blind)
#0052D1
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3c45d4;
/* rgb */ color: rgb(60, 69, 212);
/* oklch */ color: oklch(48.2% 0.215 272.3);
Tailwind
colors: {
  custom: {
    50: '#8779e2',
    500: '#3c45d4',
    950: '#000000',
  },
}
SCSS
$custom: #3c45d4;
$custom-light: #8779e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c45d4",
  "rgb": {
    "r": 60,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 236.447,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48154,
    "c": 0.21485,
    "h": 272.3
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#3C45D4
secondary
#D7D395
accent
#DD41E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3C45D4

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

Preview Lab → · Contrast checker → · Palette generator →

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