#3C54D3#3C54D3

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

Color values

HEX#3C54D3
RGBrgb(60, 84, 211)
HSLhsl(230, 63%, 53%)
HSVhsv(230, 72%, 83%)
CMYKcmyk(71.6%, 60.2%, 0%, 17.3%)
CIE-LABlab(41.22, 33.90, -68.04)
CIE-LCHlch(41.22, 76.02, 296.48°)
OKLaboklab(50.65% -0.001 -0.1964)
OKLCHoklch(50.65% 0.196 269.7)
XYZxyz(16.7876, 12.0027, 63.0474)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C54D3 #D3BB3C
analogous
#3C9FD3 #3C54D3 #703CD3
triadic
#3C54D3 #D33C54 #54D33C
tetradic
#3C54D3 #D33C9F #D3BB3C #3CD370
square
#3C54D3 #D33C9F #D3BB3C #3CD370
split-complementary
#3C54D3 #D3703C #9FD33C
monochromatic
#1B2A79 #273CAB #3C54D3 #6E80DE #A0ACEA

Accessibility & contrast

On white

6.18
#3C54D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3C54D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C54D3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C54D3#FFFFFF#000000##FFFFFF
##3C54D31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c54d3;
/* rgb */ color: rgb(60, 84, 211);
/* oklch */ color: oklch(50.6% 0.196 269.7);
Tailwind
colors: {
  custom: {
    50: '#8684e1',
    500: '#3c54d3',
    950: '#000000',
  },
}
SCSS
$custom: #3c54d3;
$custom-light: #8684e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c54d3",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 230.464,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50646,
    "c": 0.19641,
    "h": 269.7
  },
  "luminance": 0.12004
}

Semantic roles & 50–950 ramp

primary
#3C54D3
secondary
#D6CC95
accent
#CC42E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #3C54D3

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

Preview Lab → · Contrast checker → · Palette generator →

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