#3C54CD#3C54CD

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

Color values

HEX#3C54CD
RGBrgb(60, 84, 205)
HSLhsl(230, 59%, 52%)
HSVhsv(230, 71%, 80%)
CMYKcmyk(70.7%, 59%, 0%, 19.6%)
CIE-LABlab(40.75, 31.76, -65.36)
CIE-LCHlch(40.75, 72.67, 295.92°)
OKLaboklab(50.15% -0.001 -0.1885)
OKLCHoklch(50.15% 0.189 269.7)
XYZxyz(16.0495, 11.7075, 59.1597)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C54CD #CDB53C
analogous
#3C9DCD #3C54CD #6D3CCD
triadic
#3C54CD #CD3C54 #54CD3C
tetradic
#3C54CD #CD3C9D #CDB53C #3CCD6D
square
#3C54CD #CD3C9D #CDB53C #3CCD6D
split-complementary
#3C54CD #CD6D3C #9DCD3C
monochromatic
#1D2B71 #2A3EA2 #3C54CD #6D7FD9 #9DA9E6

Accessibility & contrast

On white

6.28
#3C54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3C54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C54CD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C54CD#FFFFFF#000000##FFFFFF
##3C54CD1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3c54cd;
/* rgb */ color: rgb(60, 84, 205);
/* oklch */ color: oklch(50.1% 0.189 269.7);
Tailwind
colors: {
  custom: {
    50: '#8483dd',
    500: '#3c54cd',
    950: '#000000',
  },
}
SCSS
$custom: #3c54cd;
$custom-light: #8483dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c54cd",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 230.069,
    "s": 59.184,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.18853,
    "h": 269.7
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#3C54CD
secondary
#D2C893
accent
#C845E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3C54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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