#3C54BA#3C54BA

#3C54BA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.163 H 269.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#3C54BA
RGBrgb(60, 84, 186)
HSLhsl(229, 51%, 48%)
HSVhsv(229, 68%, 73%)
CMYKcmyk(67.7%, 54.8%, 0%, 27.1%)
CIE-LABlab(39.32, 24.95, -56.63)
CIE-LCHlch(39.32, 61.88, 293.77°)
OKLaboklab(48.63% -0.0016 -0.1629)
OKLCHoklch(48.63% 0.163 269.4)
XYZxyz(13.8937, 10.8452, 47.8060)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C54BA #BAA23C
analogous
#3C93BA #3C54BA #633CBA
triadic
#3C54BA #BA3C54 #54BA3C
tetradic
#3C54BA #BA3C93 #BAA23C #3CBA63
square
#3C54BA #BA3C93 #BAA23C #3CBA63
split-complementary
#3C54BA #BA633C #93BA3C
monochromatic
#1E2A5D #2D3F8C #3C54BA #6679CE #94A2DC

Accessibility & contrast

On white

6.63
#3C54BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3C54BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C54BA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C54BA#FFFFFF#000000##FFFFFF
##3C54BA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#006D7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3c54ba;
/* rgb */ color: rgb(60, 84, 186);
/* oklch */ color: oklch(48.6% 0.163 269.4);
Tailwind
colors: {
  custom: {
    50: '#8083cf',
    500: '#3c54ba',
    950: '#000000',
  },
}
SCSS
$custom: #3c54ba;
$custom-light: #8083cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c54ba",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 228.571,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48629,
    "c": 0.16289,
    "h": 269.4
  },
  "luminance": 0.10846
}

Semantic roles & 50–950 ramp

primary
#3C54BA
secondary
#C8BC8A
accent
#C04DDB
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3C54BA

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

Preview Lab → · Contrast checker → · Palette generator →

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