#1C167A#1C167A

#1C167A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.159 H 273.6°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#1C167A
RGBrgb(28, 22, 122)
HSLhsl(244, 69%, 28%)
HSVhsv(244, 82%, 48%)
CMYKcmyk(77%, 82%, 0%, 52.2%)
CIE-LABlab(16.63, 37.21, -54.74)
CIE-LCHlch(16.63, 66.19, 304.21°)
OKLaboklab(29.76% 0.01 -0.1584)
OKLCHoklch(29.76% 0.159 273.6)
XYZxyz(4.2775, 2.2254, 18.6127)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C167A #747A16
analogous
#16427A #1C167A #4E167A
triadic
#1C167A #7A1C16 #167A1C
tetradic
#1C167A #7A1642 #747A16 #167A4E
square
#1C167A #7A1642 #747A16 #167A4E
split-complementary
#1C167A #7A4E16 #427A16
monochromatic
#06051A #100D46 #1C167A #281FAE #3B31DA

Accessibility & contrast

On white

14.53
#1C167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1C167A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C167A
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C167A#FFFFFF#000000##FFFFFF
##1C167A1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1c167a;
/* rgb */ color: rgb(28, 22, 122);
/* oklch */ color: oklch(29.8% 0.159 273.6);
Tailwind
colors: {
  custom: {
    50: '#6a56a2',
    500: '#1c167a',
    950: '#000000',
  },
}
SCSS
$custom: #1c167a;
$custom-light: #6a56a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c167a",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 243.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29755,
    "c": 0.15868,
    "h": 273.6
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#1C167A
secondary
#A8AF3D
accent
#EC3CE2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1C167A

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

Preview Lab → · Contrast checker → · Palette generator →

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