#1C20A9#1C20A9

#1C20A9 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.7% C 0.207 H 269.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#1C20A9
RGBrgb(28, 32, 169)
HSLhsl(238, 72%, 39%)
HSVhsv(238, 83%, 66%)
CMYKcmyk(83.4%, 81.1%, 0%, 33.7%)
CIE-LABlab(24.14, 47.50, -71.48)
CIE-LCHlch(24.14, 85.82, 303.61°)
OKLaboklab(36.65% -0.0032 -0.207)
OKLCHoklch(36.65% 0.207 269.1)
XYZxyz(8.1544, 4.1435, 37.8984)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C20A9 #A9A51C
analogous
#1C66A9 #1C20A9 #5E1CA9
triadic
#1C20A9 #A91C20 #20A91C
tetradic
#1C20A9 #A91C66 #A9A51C #1CA95E
square
#1C20A9 #A91C66 #A9A51C #1CA95E
split-complementary
#1C20A9 #A95E1C #66A91C
monochromatic
#0B0C40 #131674 #1C20A9 #272CDB #5B5FE4

Accessibility & contrast

On white

11.48
#1C20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1C20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C20A9
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C20A9#FFFFFF#000000##FFFFFF
##1C20A91.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0032A7
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1c20a9;
/* rgb */ color: rgb(28, 32, 169);
/* oklch */ color: oklch(36.7% 0.207 269.1);
Tailwind
colors: {
  custom: {
    50: '#765fc4',
    500: '#1c20a9',
    950: '#000000',
  },
}
SCSS
$custom: #1c20a9;
$custom-light: #765fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c20a9",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 238.298,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.36652,
    "c": 0.20704,
    "h": 269.1
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#1C20A9
secondary
#C8C559
accent
#E939EE
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #1C20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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