#1C216B#1C216B

#1C216B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.126 H 272.9°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#1C216B
RGBrgb(28, 33, 107)
HSLhsl(236, 59%, 26%)
HSVhsv(236, 74%, 42%)
CMYKcmyk(73.8%, 69.2%, 0%, 58%)
CIE-LABlab(17.44, 24.94, -43.71)
CIE-LCHlch(17.44, 50.33, 299.71°)
OKLaboklab(29.84% 0.0064 -0.1263)
OKLCHoklch(29.84% 0.126 272.9)
XYZxyz(3.6757, 2.3958, 14.1758)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C216B #6B661C
analogous
#1C496B #1C216B #3F1C6B
triadic
#1C216B #6B1C21 #216B1C
tetradic
#1C216B #6B1C49 #6B661C #1C6B3F
square
#1C216B #6B1C49 #6B661C #1C6B3F
split-complementary
#1C216B #6B3F1C #496B1C
monochromatic
#060718 #0F123A #1C216B #29309C #3740CB

Accessibility & contrast

On white

14.20
#1C216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C216B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C216B#FFFFFF#000000##FFFFFF
##1C216B1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c216b;
/* rgb */ color: rgb(28, 33, 107);
/* oklch */ color: oklch(29.8% 0.126 272.9);
Tailwind
colors: {
  custom: {
    50: '#655c96',
    500: '#1c216b',
    950: '#000000',
  },
}
SCSS
$custom: #1c216b;
$custom-light: #655c96;
$custom-dark: #000000;
JSON
{
  "hex": "#1c216b",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 236.203,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29844,
    "c": 0.12643,
    "h": 272.9
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C216B

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

Preview Lab → · Contrast checker → · Palette generator →

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