#1C217C#1C217C

#1C217C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.150 H 271.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#1C217C
RGBrgb(28, 33, 124)
HSLhsl(237, 63%, 30%)
HSVhsv(237, 77%, 49%)
CMYKcmyk(77.4%, 73.4%, 0%, 51.4%)
CIE-LABlab(19.18, 31.36, -51.80)
CIE-LCHlch(19.18, 60.56, 301.19°)
OKLaboklab(31.63% 0.0044 -0.1499)
OKLCHoklch(31.63% 0.15 271.7)
XYZxyz(4.6596, 2.7893, 19.3577)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C217C #7C771C
analogous
#1C517C #1C217C #471C7C
triadic
#1C217C #7C1C21 #217C1C
tetradic
#1C217C #7C1C51 #7C771C #1C7C47
square
#1C217C #7C1C51 #7C771C #1C7C47
split-complementary
#1C217C #7C471C #517C1C
monochromatic
#060719 #11144A #1C217C #272EAE #3F47D4

Accessibility & contrast

On white

13.48
#1C217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1C217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C217C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C217C#FFFFFF#000000##FFFFFF
##1C217C1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1c217c;
/* rgb */ color: rgb(28, 33, 124);
/* oklch */ color: oklch(31.6% 0.150 271.7);
Tailwind
colors: {
  custom: {
    50: '#695da3',
    500: '#1c217c',
    950: '#000000',
  },
}
SCSS
$custom: #1c217c;
$custom-light: #695da3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c217c",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 236.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3163,
    "c": 0.14998,
    "h": 271.7
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#1C217C
secondary
#B0AA44
accent
#DE42E6
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1C217C

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

Preview Lab → · Contrast checker → · Palette generator →

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