#3C54CF#3C54CF

#3C54CF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.191 H 269.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3C54CF
RGBrgb(60, 84, 207)
HSLhsl(230, 60%, 52%)
HSVhsv(230, 71%, 81%)
CMYKcmyk(71%, 59.4%, 0%, 18.8%)
CIE-LABlab(40.90, 32.47, -66.26)
CIE-LCHlch(40.90, 73.79, 296.11°)
OKLaboklab(50.31% -0.001 -0.1912)
OKLCHoklch(50.31% 0.191 269.7)
XYZxyz(16.2924, 11.8046, 60.4393)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C54CF #CFB73C
analogous
#3C9ECF #3C54CF #6D3CCF
triadic
#3C54CF #CF3C54 #54CF3C
tetradic
#3C54CF #CF3C9E #CFB73C #3CCF6D
square
#3C54CF #CF3C9E #CFB73C #3CCF6D
split-complementary
#3C54CF #CF6D3C #9ECF3C
monochromatic
#1D2B74 #293DA5 #3C54CF #6D7FDB #9EAAE7

Accessibility & contrast

On white

6.25
#3C54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3C54CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C54CF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C54CF#FFFFFF#000000##FFFFFF
##3C54CF1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3c54cf;
/* rgb */ color: rgb(60, 84, 207);
/* oklch */ color: oklch(50.3% 0.191 269.7);
Tailwind
colors: {
  custom: {
    50: '#8583df',
    500: '#3c54cf',
    950: '#000000',
  },
}
SCSS
$custom: #3c54cf;
$custom-light: #8583df;
$custom-dark: #000000;
JSON
{
  "hex": "#3c54cf",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 230.204,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50312,
    "c": 0.19117,
    "h": 269.7
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#3C54CF
secondary
#D3C993
accent
#CA44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3C54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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