#3C54BB#3C54BB

#3C54BB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.164 H 269.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3C54BB
RGBrgb(60, 84, 187)
HSLhsl(229, 51%, 48%)
HSVhsv(229, 68%, 73%)
CMYKcmyk(67.9%, 55.1%, 0%, 26.7%)
CIE-LABlab(39.39, 25.31, -57.10)
CIE-LCHlch(39.39, 62.46, 293.90°)
OKLaboklab(48.71% -0.0015 -0.1643)
OKLCHoklch(48.71% 0.164 269.5)
XYZxyz(14.0004, 10.8878, 48.3678)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C54BB #BBA33C
analogous
#3C93BB #3C54BB #633CBB
triadic
#3C54BB #BB3C54 #54BB3C
tetradic
#3C54BB #BB3C93 #BBA33C #3CBB63
square
#3C54BB #BB3C93 #BBA33C #3CBB63
split-complementary
#3C54BB #BB633C #93BB3C
monochromatic
#1E2A5E #2D3F8D #3C54BB #667ACE #95A2DD

Accessibility & contrast

On white

6.61
#3C54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3C54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C54BB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C54BB#FFFFFF#000000##FFFFFF
##3C54BB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c54bb;
/* rgb */ color: rgb(60, 84, 187);
/* oklch */ color: oklch(48.7% 0.164 269.5);
Tailwind
colors: {
  custom: {
    50: '#8183d0',
    500: '#3c54bb',
    950: '#000000',
  },
}
SCSS
$custom: #3c54bb;
$custom-light: #8183d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c54bb",
  "rgb": {
    "r": 60,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 228.661,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48706,
    "c": 0.16427,
    "h": 269.5
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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