#1C216F#1C216F

#1C216F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.132 H 272.6°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#1C216F
RGBrgb(28, 33, 111)
HSLhsl(236, 60%, 27%)
HSVhsv(236, 75%, 44%)
CMYKcmyk(74.8%, 70.3%, 0%, 56.5%)
CIE-LABlab(17.84, 26.48, -45.66)
CIE-LCHlch(17.84, 52.78, 300.11°)
OKLaboklab(30.25% 0.006 -0.132)
OKLCHoklch(30.25% 0.132 272.6)
XYZxyz(3.8910, 2.4819, 15.3098)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C216F #6F6A1C
analogous
#1C4A6F #1C216F #411C6F
triadic
#1C216F #6F1C21 #216F1C
tetradic
#1C216F #6F1C4A #6F6A1C #1C6F41
square
#1C216F #6F1C4A #6F6A1C #1C6F41
split-complementary
#1C216F #6F411C #4A6F1C
monochromatic
#060718 #10123E #1C216F #2830A0 #3841CD

Accessibility & contrast

On white

14.03
#1C216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1C216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C216F
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C216F#FFFFFF#000000##FFFFFF
##1C216F1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1c216f;
/* rgb */ color: rgb(28, 33, 111);
/* oklch */ color: oklch(30.3% 0.132 272.6);
Tailwind
colors: {
  custom: {
    50: '#665c99',
    500: '#1c216f',
    950: '#000000',
  },
}
SCSS
$custom: #1c216f;
$custom-light: #665c99;
$custom-dark: #000000;
JSON
{
  "hex": "#1c216f",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 236.386,
    "s": 59.712,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30253,
    "c": 0.13212,
    "h": 272.6
  },
  "luminance": 0.02482
}

Semantic roles & 50–950 ramp

primary
#1C216F
secondary
#A49E43
accent
#D945E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1C216F

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

Preview Lab → · Contrast checker → · Palette generator →

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