#1C52A1#1C52A1

#1C52A1 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.140 H 258.5°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#1C52A1
RGBrgb(28, 82, 161)
HSLhsl(216, 70%, 37%)
HSVhsv(216, 83%, 63%)
CMYKcmyk(82.6%, 49.1%, 0%, 36.9%)
CIE-LABlab(35.70, 12.62, -47.73)
CIE-LCHlch(35.70, 49.37, 284.81°)
OKLaboklab(44.96% -0.0279 -0.1373)
OKLCHoklch(44.96% 0.14 258.5)
XYZxyz(9.9268, 8.8535, 34.8970)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C52A1 #A16B1C
analogous
#1C95A1 #1C52A1 #291CA1
triadic
#1C52A1 #A11C52 #52A11C
tetradic
#1C52A1 #A11C95 #A16B1C #1CA129
square
#1C52A1 #A11C95 #A16B1C #1CA129
split-complementary
#1C52A1 #A1291C #95A11C
monochromatic
#0A1D39 #13376D #1C52A1 #256DD5 #568FE2

Accessibility & contrast

On white

7.58
#1C52A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1C52A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C52A1
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C52A1#FFFFFF#000000##FFFFFF
##1C52A11.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1c52a1;
/* rgb */ color: rgb(28, 82, 161);
/* oklch */ color: oklch(45.0% 0.140 258.5);
Tailwind
colors: {
  custom: {
    50: '#6f82bd',
    500: '#1c52a1',
    950: '#000000',
  },
}
SCSS
$custom: #1c52a1;
$custom-light: #6f82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1c52a1",
  "rgb": {
    "r": 28,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 215.639,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.14009,
    "h": 258.5
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#1C52A1
secondary
#C59754
accent
#A53BED
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1C52A1

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

Preview Lab → · Contrast checker → · Palette generator →

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