#1C216A#1C216A

#1C216A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.125 H 273.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#1C216A
RGBrgb(28, 33, 106)
HSLhsl(236, 58%, 26%)
HSVhsv(236, 74%, 42%)
CMYKcmyk(73.6%, 68.9%, 0%, 58.4%)
CIE-LABlab(17.34, 24.56, -43.22)
CIE-LCHlch(17.34, 49.71, 299.61°)
OKLaboklab(29.74% 0.0065 -0.1248)
OKLCHoklch(29.74% 0.125 273)
XYZxyz(3.6234, 2.3748, 13.9003)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C216A #6A651C
analogous
#1C486A #1C216A #3E1C6A
triadic
#1C216A #6A1C21 #216A1C
tetradic
#1C216A #6A1C48 #6A651C #1C6A3E
square
#1C216A #6A1C48 #6A651C #1C6A3E
split-complementary
#1C216A #6A3E1C #486A1C
monochromatic
#060818 #0F123A #1C216A #29309A #3640CA

Accessibility & contrast

On white

14.24
#1C216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C216A
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C216A#FFFFFF#000000##FFFFFF
##1C216A1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c216a;
/* rgb */ color: rgb(28, 33, 106);
/* oklch */ color: oklch(29.7% 0.125 273.0);
Tailwind
colors: {
  custom: {
    50: '#655c95',
    500: '#1c216a',
    950: '#000000',
  },
}
SCSS
$custom: #1c216a;
$custom-light: #655c95;
$custom-dark: #000000;
JSON
{
  "hex": "#1c216a",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 236.154,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29742,
    "c": 0.125,
    "h": 273
  },
  "luminance": 0.02375
}

Semantic roles & 50–950 ramp

primary
#1C216A
secondary
#9F9943
accent
#D746E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1C216A

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

Preview Lab → · Contrast checker → · Palette generator →

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