#1C167C#1C167C

#1C167C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.161 H 273.4°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#1C167C
RGBrgb(28, 22, 124)
HSLhsl(244, 70%, 29%)
HSVhsv(244, 82%, 49%)
CMYKcmyk(77.4%, 82.3%, 0%, 51.4%)
CIE-LABlab(16.87, 37.88, -55.62)
CIE-LCHlch(16.87, 67.29, 304.26°)
OKLaboklab(30% 0.0095 -0.1609)
OKLCHoklch(30% 0.161 273.4)
XYZxyz(4.4027, 2.2755, 19.2721)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C167C #767C16
analogous
#16437C #1C167C #4F167C
triadic
#1C167C #7C1C16 #167C1C
tetradic
#1C167C #7C1643 #767C16 #167C4F
square
#1C167C #7C1643 #767C16 #167C4F
split-complementary
#1C167C #7C4F16 #437C16
monochromatic
#06051A #100D48 #1C167C #281FB0 #3C32DB

Accessibility & contrast

On white

14.43
#1C167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1C167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C167C
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C167C#FFFFFF#000000##FFFFFF
##1C167C1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c167c;
/* rgb */ color: rgb(28, 22, 124);
/* oklch */ color: oklch(30.0% 0.161 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a56a3',
    500: '#1c167c',
    950: '#000000',
  },
}
SCSS
$custom: #1c167c;
$custom-light: #6a56a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1c167c",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 243.529,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29995,
    "c": 0.16119,
    "h": 273.4
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#1C167C
secondary
#AAB13D
accent
#ED3BE2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1C167C

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

Preview Lab → · Contrast checker → · Palette generator →

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