#3C54CC#3C54CC

#3C54CC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.187 H 269.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3C54CC
RGBrgb(60, 84, 204)
HSLhsl(230, 59%, 52%)
HSVhsv(230, 71%, 80%)
CMYKcmyk(70.6%, 58.8%, 0%, 20%)
CIE-LABlab(40.67, 31.40, -64.91)
CIE-LCHlch(40.67, 72.11, 295.82°)
OKLaboklab(50.06% -0.001 -0.1872)
OKLCHoklch(50.06% 0.187 269.7)
XYZxyz(15.9292, 11.6593, 58.5260)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C54CC #CCB43C
analogous
#3C9CCC #3C54CC #6C3CCC
triadic
#3C54CC #CC3C54 #54CC3C
tetradic
#3C54CC #CC3C9C #CCB43C #3CCC6C
square
#3C54CC #CC3C9C #CCB43C #3CCC6C
split-complementary
#3C54CC #CC6C3C #9CCC3C
monochromatic
#1D2B70 #2A3EA1 #3C54CC #6D7FD9 #9DA9E5

Accessibility & contrast

On white

6.30
#3C54CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3C54CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C54CC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C54CC#FFFFFF#000000##FFFFFF
##3C54CC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3c54cc;
/* rgb */ color: rgb(60, 84, 204);
/* oklch */ color: oklch(50.1% 0.187 269.7);
Tailwind
colors: {
  custom: {
    50: '#8483dc',
    500: '#3c54cc',
    950: '#000000',
  },
}
SCSS
$custom: #3c54cc;
$custom-light: #8483dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3c54cc",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 230,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50064,
    "c": 0.18721,
    "h": 269.7
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#3C54CC
secondary
#D1C792
accent
#C846E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3C54CC

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

Preview Lab → · Contrast checker → · Palette generator →

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