#1C52B4#1C52B4

#1C52B4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.166 H 261.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#1C52B4
RGBrgb(28, 82, 180)
HSLhsl(219, 73%, 41%)
HSVhsv(219, 84%, 71%)
CMYKcmyk(84.4%, 54.4%, 0%, 29.4%)
CIE-LABlab(37.07, 20.20, -56.81)
CIE-LCHlch(37.07, 60.30, 289.57°)
OKLaboklab(46.44% -0.0254 -0.164)
OKLCHoklch(46.44% 0.166 261.2)
XYZxyz(11.7314, 9.5753, 44.4011)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C52B4 #B47E1C
analogous
#1C9EB4 #1C52B4 #321CB4
triadic
#1C52B4 #B41C52 #52B41C
tetradic
#1C52B4 #B41C9E #B47E1C #1CB432
square
#1C52B4 #B41C9E #B47E1C #1CB432
split-complementary
#1C52B4 #B4321C #9EB41C
monochromatic
#0C224A #143A7F #1C52B4 #2F6DDF #6492E7

Accessibility & contrast

On white

7.20
#1C52B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1C52B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C52B4
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C52B4#FFFFFF#000000##FFFFFF
##1C52B41.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c52b4;
/* rgb */ color: rgb(28, 82, 180);
/* oklch */ color: oklch(46.4% 0.166 261.2);
Tailwind
colors: {
  custom: {
    50: '#7481cb',
    500: '#1c52b4',
    950: '#000000',
  },
}
SCSS
$custom: #1c52b4;
$custom-light: #7481cb;
$custom-dark: #000000;
JSON
{
  "hex": "#1c52b4",
  "rgb": {
    "r": 28,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 218.684,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4644,
    "c": 0.16596,
    "h": 261.2
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#1C52B4
secondary
#CCA560
accent
#AE38F0
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1C52B4

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

Preview Lab → · Contrast checker → · Palette generator →

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