#1C216D#1C216D

#1C216D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.129 H 272.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#1C216D
RGBrgb(28, 33, 109)
HSLhsl(236, 59%, 27%)
HSVhsv(236, 74%, 43%)
CMYKcmyk(74.3%, 69.7%, 0%, 57.3%)
CIE-LABlab(17.64, 25.71, -44.69)
CIE-LCHlch(17.64, 51.56, 299.91°)
OKLaboklab(30.05% 0.0062 -0.1291)
OKLCHoklch(30.05% 0.129 272.7)
XYZxyz(3.7821, 2.4383, 14.7364)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C216D #6D681C
analogous
#1C4A6D #1C216D #401C6D
triadic
#1C216D #6D1C21 #216D1C
tetradic
#1C216D #6D1C4A #6D681C #1C6D40
square
#1C216D #6D1C4A #6D681C #1C6D40
split-complementary
#1C216D #6D401C #4A6D1C
monochromatic
#060718 #0F123C #1C216D #29309E #3841CC

Accessibility & contrast

On white

14.11
#1C216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1C216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C216D
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C216D#FFFFFF#000000##FFFFFF
##1C216D1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c216d;
/* rgb */ color: rgb(28, 33, 109);
/* oklch */ color: oklch(30.0% 0.129 272.7);
Tailwind
colors: {
  custom: {
    50: '#655c98',
    500: '#1c216d',
    950: '#000000',
  },
}
SCSS
$custom: #1c216d;
$custom-light: #655c98;
$custom-dark: #000000;
JSON
{
  "hex": "#1c216d",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 236.296,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30047,
    "c": 0.12929,
    "h": 272.7
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#1C216D
secondary
#A29C43
accent
#D945E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1C216D

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

Preview Lab → · Contrast checker → · Palette generator →

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