#1C52AB#1C52AB

#1C52AB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.154 H 260.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#1C52AB
RGBrgb(28, 82, 171)
HSLhsl(217, 72%, 39%)
HSVhsv(217, 84%, 67%)
CMYKcmyk(83.6%, 52%, 0%, 32.9%)
CIE-LABlab(36.41, 16.62, -52.56)
CIE-LCHlch(36.41, 55.13, 287.55°)
OKLaboklab(45.72% -0.0265 -0.1515)
OKLCHoklch(45.72% 0.154 260.1)
XYZxyz(10.8442, 9.2204, 39.7284)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C52AB #AB751C
analogous
#1C9AAB #1C52AB #2E1CAB
triadic
#1C52AB #AB1C52 #52AB1C
tetradic
#1C52AB #AB1C9A #AB751C #1CAB2E
square
#1C52AB #AB1C9A #AB751C #1CAB2E
split-complementary
#1C52AB #AB2E1C #9AAB1C
monochromatic
#0B2042 #133976 #1C52AB #286CDC #5D90E4

Accessibility & contrast

On white

7.38
#1C52AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1C52AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C52AB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C52AB#FFFFFF#000000##FFFFFF
##1C52AB1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1c52ab;
/* rgb */ color: rgb(28, 82, 171);
/* oklch */ color: oklch(45.7% 0.154 260.1);
Tailwind
colors: {
  custom: {
    50: '#7281c5',
    500: '#1c52ab',
    950: '#000000',
  },
}
SCSS
$custom: #1c52ab;
$custom-light: #7281c5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c52ab",
  "rgb": {
    "r": 28,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 217.343,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45724,
    "c": 0.15378,
    "h": 260.1
  },
  "luminance": 0.09222
}

Semantic roles & 50–950 ramp

primary
#1C52AB
secondary
#C99F5A
accent
#AA39EF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1C52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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