#1C51B4#1C51B4

#1C51B4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.167 H 261.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#1C51B4
RGBrgb(28, 81, 180)
HSLhsl(219, 73%, 41%)
HSVhsv(219, 84%, 71%)
CMYKcmyk(84.4%, 55%, 0%, 29.4%)
CIE-LABlab(36.79, 20.87, -57.26)
CIE-LCHlch(36.79, 60.95, 290.02°)
OKLaboklab(46.23% -0.0248 -0.1653)
OKLCHoklch(46.23% 0.167 261.5)
XYZxyz(11.6566, 9.4256, 44.3761)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C51B4 #B47F1C
analogous
#1C9DB4 #1C51B4 #331CB4
triadic
#1C51B4 #B41C51 #51B41C
tetradic
#1C51B4 #B41C9D #B47F1C #1CB433
square
#1C51B4 #B41C9D #B47F1C #1CB433
split-complementary
#1C51B4 #B4331C #9DB41C
monochromatic
#0C214A #14397F #1C51B4 #2F6CDF #6491E7

Accessibility & contrast

On white

7.28
#1C51B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#1C51B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C51B4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C51B4#FFFFFF#000000##FFFFFF
##1C51B41.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1c51b4;
/* rgb */ color: rgb(28, 81, 180);
/* oklch */ color: oklch(46.2% 0.167 261.5);
Tailwind
colors: {
  custom: {
    50: '#7481cb',
    500: '#1c51b4',
    950: '#000000',
  },
}
SCSS
$custom: #1c51b4;
$custom-light: #7481cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c51b4",
  "rgb": {
    "r": 28,
    "g": 81,
    "b": 180
  },
  "hsl": {
    "h": 219.079,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46229,
    "c": 0.1672,
    "h": 261.5
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#1C51B4
secondary
#CCA660
accent
#B038F0
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1C51B4

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

Preview Lab → · Contrast checker → · Palette generator →

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