#1C216C#1C216C

#1C216C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.128 H 272.8°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#1C216C
RGBrgb(28, 33, 108)
HSLhsl(236, 59%, 27%)
HSVhsv(236, 74%, 42%)
CMYKcmyk(74.1%, 69.4%, 0%, 57.6%)
CIE-LABlab(17.54, 25.33, -44.20)
CIE-LCHlch(17.54, 50.94, 299.81°)
OKLaboklab(29.95% 0.0063 -0.1277)
OKLCHoklch(29.95% 0.128 272.8)
XYZxyz(3.7286, 2.4169, 14.4545)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C216C #6C671C
analogous
#1C496C #1C216C #3F1C6C
triadic
#1C216C #6C1C21 #216C1C
tetradic
#1C216C #6C1C49 #6C671C #1C6C3F
square
#1C216C #6C1C49 #6C671C #1C6C3F
split-complementary
#1C216C #6C3F1C #496C1C
monochromatic
#060718 #0F123B #1C216C #29309D #3740CB

Accessibility & contrast

On white

14.16
#1C216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1C216C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C216C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C216C#FFFFFF#000000##FFFFFF
##1C216C1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c216c;
/* rgb */ color: rgb(28, 33, 108);
/* oklch */ color: oklch(29.9% 0.128 272.8);
Tailwind
colors: {
  custom: {
    50: '#655c97',
    500: '#1c216c',
    950: '#000000',
  },
}
SCSS
$custom: #1c216c;
$custom-light: #655c97;
$custom-dark: #000000;
JSON
{
  "hex": "#1c216c",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 236.25,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29945,
    "c": 0.12787,
    "h": 272.8
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#1C216C
secondary
#A19B43
accent
#D846E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C216C

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

Preview Lab → · Contrast checker → · Palette generator →

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