#1C166E#1C166E

#1C166E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.143 H 275.2°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#1C166E
RGBrgb(28, 22, 110)
HSLhsl(244, 67%, 26%)
HSVhsv(244, 80%, 43%)
CMYKcmyk(74.5%, 80%, 0%, 56.9%)
CIE-LABlab(15.20, 33.10, -49.35)
CIE-LCHlch(15.20, 59.42, 303.85°)
OKLaboklab(28.34% 0.0129 -0.1427)
OKLCHoklch(28.34% 0.143 275.2)
XYZxyz(3.5793, 1.9461, 14.9358)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C166E #686E16
analogous
#163C6E #1C166E #48166E
triadic
#1C166E #6E1C16 #166E1C
tetradic
#1C166E #6E163C #686E16 #166E48
square
#1C166E #6E163C #686E16 #166E48
split-complementary
#1C166E #6E4816 #3C6E16
monochromatic
#06051A #0F0C3B #1C166E #2920A1 #362AD4

Accessibility & contrast

On white

15.12
#1C166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1C166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C166E
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C166E#FFFFFF#000000##FFFFFF
##1C166E1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c166e;
/* rgb */ color: rgb(28, 22, 110);
/* oklch */ color: oklch(28.3% 0.143 275.2);
Tailwind
colors: {
  custom: {
    50: '#675599',
    500: '#1c166e',
    950: '#000000',
  },
}
SCSS
$custom: #1c166e;
$custom-light: #675599;
$custom-dark: #000000;
JSON
{
  "hex": "#1c166e",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 244.091,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28336,
    "c": 0.14329,
    "h": 275.2
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#1C166E
secondary
#9DA43C
accent
#EA3EDE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C166E

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

Preview Lab → · Contrast checker → · Palette generator →

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