#3C54C6#3C54C6

#3C54C6 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.179 H 269.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3C54C6
RGBrgb(60, 84, 198)
HSLhsl(230, 55%, 51%)
HSVhsv(230, 70%, 78%)
CMYKcmyk(69.7%, 57.6%, 0%, 22.4%)
CIE-LABlab(40.21, 29.26, -62.19)
CIE-LCHlch(40.21, 68.72, 295.20°)
OKLaboklab(49.58% -0.0011 -0.1792)
OKLCHoklch(49.58% 0.179 269.7)
XYZxyz(15.2234, 11.3770, 54.8088)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C54C6 #C6AE3C
analogous
#3C99C6 #3C54C6 #693CC6
triadic
#3C54C6 #C63C54 #54C63C
tetradic
#3C54C6 #C63C99 #C6AE3C #3CC669
square
#3C54C6 #C63C99 #C6AE3C #3CC669
split-complementary
#3C54C6 #C6693C #99C63C
monochromatic
#1F2C69 #2D3F98 #3C54C6 #6B7ED4 #9BA7E2

Accessibility & contrast

On white

6.41
#3C54C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3C54C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C54C6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C54C6#FFFFFF#000000##FFFFFF
##3C54C61.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3c54c6;
/* rgb */ color: rgb(60, 84, 198);
/* oklch */ color: oklch(49.6% 0.179 269.7);
Tailwind
colors: {
  custom: {
    50: '#8383d8',
    500: '#3c54c6',
    950: '#000000',
  },
}
SCSS
$custom: #3c54c6;
$custom-light: #8383d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c54c6",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 198
  },
  "hsl": {
    "h": 229.565,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.17921,
    "h": 269.7
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#3C54C6
secondary
#CEC390
accent
#C44ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3C54C6

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

Preview Lab → · Contrast checker → · Palette generator →

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