#1C167E#1C167E

#1C167E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.164 H 273.1°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#1C167E
RGBrgb(28, 22, 126)
HSLhsl(243, 70%, 29%)
HSVhsv(243, 83%, 49%)
CMYKcmyk(77.8%, 82.5%, 0%, 50.6%)
CIE-LABlab(17.12, 38.55, -56.49)
CIE-LCHlch(17.12, 68.39, 304.31°)
OKLaboklab(30.24% 0.009 -0.1634)
OKLCHoklch(30.24% 0.164 273.1)
XYZxyz(4.5304, 2.3266, 19.9449)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C167E #787E16
analogous
#16447E #1C167E #50167E
triadic
#1C167E #7E1C16 #167E1C
tetradic
#1C167E #7E1644 #787E16 #167E50
square
#1C167E #7E1644 #787E16 #167E50
split-complementary
#1C167E #7E5016 #447E16
monochromatic
#06051A #100D4A #1C167E #281FB2 #3D33DB

Accessibility & contrast

On white

14.33
#1C167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1C167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C167E
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C167E#FFFFFF#000000##FFFFFF
##1C167E1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c167e;
/* rgb */ color: rgb(28, 22, 126);
/* oklch */ color: oklch(30.2% 0.164 273.1);
Tailwind
colors: {
  custom: {
    50: '#6b56a5',
    500: '#1c167e',
    950: '#000000',
  },
}
SCSS
$custom: #1c167e;
$custom-light: #6b56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c167e",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 243.462,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30236,
    "c": 0.16368,
    "h": 273.1
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#1C167E
secondary
#ACB33D
accent
#ED3BE3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C167E

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

Preview Lab → · Contrast checker → · Palette generator →

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