#1C167D#1C167D

#1C167D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.162 H 273.2°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#1C167D
RGBrgb(28, 22, 125)
HSLhsl(243, 70%, 29%)
HSVhsv(243, 82%, 49%)
CMYKcmyk(77.6%, 82.4%, 0%, 51%)
CIE-LABlab(16.99, 38.22, -56.05)
CIE-LCHlch(16.99, 67.84, 304.28°)
OKLaboklab(30.12% 0.0092 -0.1622)
OKLCHoklch(30.12% 0.162 273.2)
XYZxyz(4.4662, 2.3009, 19.6068)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C167D #777D16
analogous
#16447D #1C167D #50167D
triadic
#1C167D #7D1C16 #167D1C
tetradic
#1C167D #7D1644 #777D16 #167D50
square
#1C167D #7D1644 #777D16 #167D50
split-complementary
#1C167D #7D5016 #447D16
monochromatic
#06051A #100D49 #1C167D #281FB1 #3C32DB

Accessibility & contrast

On white

14.38
#1C167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C167D
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C167D#FFFFFF#000000##FFFFFF
##1C167D1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c167d;
/* rgb */ color: rgb(28, 22, 125);
/* oklch */ color: oklch(30.1% 0.162 273.2);
Tailwind
colors: {
  custom: {
    50: '#6b56a4',
    500: '#1c167d',
    950: '#000000',
  },
}
SCSS
$custom: #1c167d;
$custom-light: #6b56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c167d",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 243.495,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30116,
    "c": 0.16244,
    "h": 273.2
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#1C167D
secondary
#ABB23D
accent
#ED3BE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1C167D

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

Preview Lab → · Contrast checker → · Palette generator →

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