#3C54BD#3C54BD

#3C54BD is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.167 H 269.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3C54BD
RGBrgb(60, 84, 189)
HSLhsl(229, 52%, 49%)
HSVhsv(229, 68%, 74%)
CMYKcmyk(68.3%, 55.6%, 0%, 25.9%)
CIE-LABlab(39.54, 26.03, -58.03)
CIE-LCHlch(39.54, 63.60, 294.15°)
OKLaboklab(48.86% -0.0014 -0.167)
OKLCHoklch(48.86% 0.167 269.5)
XYZxyz(14.2160, 10.9741, 49.5033)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C54BD #BDA53C
analogous
#3C95BD #3C54BD #653CBD
triadic
#3C54BD #BD3C54 #54BD3C
tetradic
#3C54BD #BD3C95 #BDA53C #3CBD65
square
#3C54BD #BD3C95 #BDA53C #3CBD65
split-complementary
#3C54BD #BD653C #95BD3C
monochromatic
#1F2B60 #2D3F8F #3C54BD #677BCF #96A3DE

Accessibility & contrast

On white

6.57
#3C54BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3C54BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C54BD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C54BD#FFFFFF#000000##FFFFFF
##3C54BD1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3c54bd;
/* rgb */ color: rgb(60, 84, 189);
/* oklch */ color: oklch(48.9% 0.167 269.5);
Tailwind
colors: {
  custom: {
    50: '#8183d2',
    500: '#3c54bd',
    950: '#000000',
  },
}
SCSS
$custom: #3c54bd;
$custom-light: #8183d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3c54bd",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 228.837,
    "s": 51.807,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48862,
    "c": 0.16701,
    "h": 269.5
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#3C54BD
secondary
#C9BE8C
accent
#C14DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3C54BD

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

Preview Lab → · Contrast checker → · Palette generator →

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