#3C54C8#3C54C8

#3C54C8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.182 H 269.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#3C54C8
RGBrgb(60, 84, 200)
HSLhsl(230, 56%, 51%)
HSVhsv(230, 70%, 78%)
CMYKcmyk(70%, 58%, 0%, 21.6%)
CIE-LABlab(40.36, 29.97, -63.10)
CIE-LCHlch(40.36, 69.86, 295.41°)
OKLaboklab(49.74% -0.001 -0.1819)
OKLCHoklch(49.74% 0.182 269.7)
XYZxyz(15.4556, 11.4699, 56.0318)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C54C8 #C8B03C
analogous
#3C9AC8 #3C54C8 #6A3CC8
triadic
#3C54C8 #C83C54 #54C83C
tetradic
#3C54C8 #C83C9A #C8B03C #3CC86A
square
#3C54C8 #C83C9A #C8B03C #3CC86A
split-complementary
#3C54C8 #C86A3C #9AC83C
monochromatic
#1E2B6B #2C3F9B #3C54C8 #6C7ED5 #9BA8E3

Accessibility & contrast

On white

6.37
#3C54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#3C54C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C54C8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C54C8#FFFFFF#000000##FFFFFF
##3C54C81.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3c54c8;
/* rgb */ color: rgb(60, 84, 200);
/* oklch */ color: oklch(49.7% 0.182 269.7);
Tailwind
colors: {
  custom: {
    50: '#8383da',
    500: '#3c54c8',
    950: '#000000',
  },
}
SCSS
$custom: #3c54c8;
$custom-light: #8383da;
$custom-dark: #000000;
JSON
{
  "hex": "#3c54c8",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 229.714,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49738,
    "c": 0.18189,
    "h": 269.7
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#3C54C8
secondary
#CFC491
accent
#C549DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3C54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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