#1C54AB#1C54AB

#1C54AB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.151 H 259.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#1C54AB
RGBrgb(28, 84, 171)
HSLhsl(217, 72%, 39%)
HSVhsv(217, 84%, 67%)
CMYKcmyk(83.6%, 50.9%, 0%, 32.9%)
CIE-LABlab(36.98, 15.29, -51.63)
CIE-LCHlch(36.98, 53.85, 286.49°)
OKLaboklab(46.16% -0.0279 -0.1487)
OKLCHoklch(46.16% 0.151 259.4)
XYZxyz(10.9972, 9.5264, 39.7794)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C54AB #AB731C
analogous
#1C9CAB #1C54AB #2B1CAB
triadic
#1C54AB #AB1C54 #54AB1C
tetradic
#1C54AB #AB1C9C #AB731C #1CAB2B
square
#1C54AB #AB1C9C #AB731C #1CAB2B
split-complementary
#1C54AB #AB2B1C #9CAB1C
monochromatic
#0B2042 #133A76 #1C54AB #286FDC #5D92E4

Accessibility & contrast

On white

7.23
#1C54AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#1C54AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C54AB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C54AB#FFFFFF#000000##FFFFFF
##1C54AB1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5EAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1c54ab;
/* rgb */ color: rgb(28, 84, 171);
/* oklch */ color: oklch(46.2% 0.151 259.4);
Tailwind
colors: {
  custom: {
    50: '#7283c5',
    500: '#1c54ab',
    950: '#000000',
  },
}
SCSS
$custom: #1c54ab;
$custom-light: #7283c5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c54ab",
  "rgb": {
    "r": 28,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 216.503,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46163,
    "c": 0.15131,
    "h": 259.4
  },
  "luminance": 0.09528
}

Semantic roles & 50–950 ramp

primary
#1C54AB
secondary
#C99D5A
accent
#A839EF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1C54AB

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

Preview Lab → · Contrast checker → · Palette generator →

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