#1C54B4#1C54B4

#1C54B4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.163 H 260.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#1C54B4
RGBrgb(28, 84, 180)
HSLhsl(218, 73%, 41%)
HSVhsv(218, 84%, 71%)
CMYKcmyk(84.4%, 53.3%, 0%, 29.4%)
CIE-LABlab(37.63, 18.87, -55.91)
CIE-LCHlch(37.63, 59.00, 288.65°)
OKLaboklab(46.87% -0.0268 -0.1613)
OKLCHoklch(46.87% 0.163 260.6)
XYZxyz(11.8844, 9.8813, 44.4521)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C54B4 #B47C1C
analogous
#1CA0B4 #1C54B4 #301CB4
triadic
#1C54B4 #B41C54 #54B41C
tetradic
#1C54B4 #B41CA0 #B47C1C #1CB430
square
#1C54B4 #B41CA0 #B47C1C #1CB430
split-complementary
#1C54B4 #B4301C #A0B41C
monochromatic
#0C234A #143B7F #1C54B4 #2F6FDF #6494E7

Accessibility & contrast

On white

7.06
#1C54B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1C54B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C54B4
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C54B4#FFFFFF#000000##FFFFFF
##1C54B41.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0560B7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1c54b4;
/* rgb */ color: rgb(28, 84, 180);
/* oklch */ color: oklch(46.9% 0.163 260.6);
Tailwind
colors: {
  custom: {
    50: '#7483cb',
    500: '#1c54b4',
    950: '#000000',
  },
}
SCSS
$custom: #1c54b4;
$custom-light: #7483cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c54b4",
  "rgb": {
    "r": 28,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 217.895,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46865,
    "c": 0.16349,
    "h": 260.6
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#1C54B4
secondary
#CCA460
accent
#AC38F0
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1C54B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1C54B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva