#1C216E#1C216E

#1C216E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.131 H 272.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#1C216E
RGBrgb(28, 33, 110)
HSLhsl(236, 59%, 27%)
HSVhsv(236, 75%, 43%)
CMYKcmyk(74.5%, 70%, 0%, 56.9%)
CIE-LABlab(17.74, 26.10, -45.18)
CIE-LCHlch(17.74, 52.17, 300.01°)
OKLaboklab(30.15% 0.0061 -0.1306)
OKLCHoklch(30.15% 0.131 272.7)
XYZxyz(3.8363, 2.4600, 15.0215)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C216E #6E691C
analogous
#1C4A6E #1C216E #401C6E
triadic
#1C216E #6E1C21 #216E1C
tetradic
#1C216E #6E1C4A #6E691C #1C6E40
square
#1C216E #6E1C4A #6E691C #1C6E40
split-complementary
#1C216E #6E401C #4A6E1C
monochromatic
#060718 #10123D #1C216E #28309F #3841CC

Accessibility & contrast

On white

14.08
#1C216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C216E
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C216E#FFFFFF#000000##FFFFFF
##1C216E1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1c216e;
/* rgb */ color: rgb(28, 33, 110);
/* oklch */ color: oklch(30.1% 0.131 272.7);
Tailwind
colors: {
  custom: {
    50: '#665c98',
    500: '#1c216e',
    950: '#000000',
  },
}
SCSS
$custom: #1c216e;
$custom-light: #665c98;
$custom-dark: #000000;
JSON
{
  "hex": "#1c216e",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 236.341,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3015,
    "c": 0.1307,
    "h": 272.7
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#1C216E
secondary
#A39D43
accent
#D945E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1C216E

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

Preview Lab → · Contrast checker → · Palette generator →

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