#1C166F#1C166F

#1C166F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.145 H 275.0°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#1C166F
RGBrgb(28, 22, 111)
HSLhsl(244, 67%, 26%)
HSVhsv(244, 80%, 44%)
CMYKcmyk(74.8%, 80.2%, 0%, 56.5%)
CIE-LABlab(15.32, 33.45, -49.81)
CIE-LCHlch(15.32, 60.00, 303.89°)
OKLaboklab(28.45% 0.0127 -0.144)
OKLCHoklch(28.45% 0.145 275)
XYZxyz(3.6341, 1.9680, 15.2242)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C166F #696F16
analogous
#163C6F #1C166F #48166F
triadic
#1C166F #6F1C16 #166F1C
tetradic
#1C166F #6F163C #696F16 #166F48
square
#1C166F #6F163C #696F16 #166F48
split-complementary
#1C166F #6F4816 #3C6F16
monochromatic
#06051A #0F0C3C #1C166F #2920A2 #362BD5

Accessibility & contrast

On white

15.07
#1C166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C166F
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C166F#FFFFFF#000000##FFFFFF
##1C166F1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c166f;
/* rgb */ color: rgb(28, 22, 111);
/* oklch */ color: oklch(28.5% 0.145 275.0);
Tailwind
colors: {
  custom: {
    50: '#675599',
    500: '#1c166f',
    950: '#000000',
  },
}
SCSS
$custom: #1c166f;
$custom-light: #675599;
$custom-dark: #000000;
JSON
{
  "hex": "#1c166f",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 244.045,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28452,
    "c": 0.14459,
    "h": 275
  },
  "luminance": 0.01968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C166F

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

Preview Lab → · Contrast checker → · Palette generator →

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