#3C54D2#3C54D2

#3C54D2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.195 H 269.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3C54D2
RGBrgb(60, 84, 210)
HSLhsl(230, 63%, 53%)
HSVhsv(230, 71%, 82%)
CMYKcmyk(71.4%, 60%, 0%, 17.6%)
CIE-LABlab(41.14, 33.54, -67.60)
CIE-LCHlch(41.14, 75.46, 296.39°)
OKLaboklab(50.56% -0.001 -0.1951)
OKLCHoklch(50.56% 0.195 269.7)
XYZxyz(16.6627, 11.9527, 62.3892)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C54D2 #D2BA3C
analogous
#3C9FD2 #3C54D2 #6F3CD2
triadic
#3C54D2 #D23C54 #54D23C
tetradic
#3C54D2 #D23C9F #D2BA3C #3CD26F
square
#3C54D2 #D23C9F #D2BA3C #3CD26F
split-complementary
#3C54D2 #D26F3C #9FD23C
monochromatic
#1C2A78 #273CAA #3C54D2 #6E80DD #9FABE9

Accessibility & contrast

On white

6.19
#3C54D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3C54D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C54D2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C54D2#FFFFFF#000000##FFFFFF
##3C54D21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3c54d2;
/* rgb */ color: rgb(60, 84, 210);
/* oklch */ color: oklch(50.6% 0.195 269.7);
Tailwind
colors: {
  custom: {
    50: '#8584e1',
    500: '#3c54d2',
    950: '#000000',
  },
}
SCSS
$custom: #3c54d2;
$custom-light: #8584e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c54d2",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 230.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.19511,
    "h": 269.7
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#3C54D2
secondary
#D5CB94
accent
#CB42E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #3C54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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