#1C167F#1C167F

#1C167F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.165 H 273.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#1C167F
RGBrgb(28, 22, 127)
HSLhsl(243, 70%, 29%)
HSVhsv(243, 83%, 50%)
CMYKcmyk(78%, 82.7%, 0%, 50.2%)
CIE-LABlab(17.24, 38.88, -56.92)
CIE-LCHlch(17.24, 68.94, 304.34°)
OKLaboklab(30.36% 0.0087 -0.1647)
OKLCHoklch(30.36% 0.165 273)
XYZxyz(4.5953, 2.3525, 20.2865)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C167F #797F16
analogous
#16447F #1C167F #51167F
triadic
#1C167F #7F1C16 #167F1C
tetradic
#1C167F #7F1644 #797F16 #167F51
square
#1C167F #7F1644 #797F16 #167F51
split-complementary
#1C167F #7F5116 #447F16
monochromatic
#06051A #100D4B #1C167F #281FB3 #3D34DC

Accessibility & contrast

On white

14.28
#1C167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C167F
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C167F#FFFFFF#000000##FFFFFF
##1C167F1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1c167f;
/* rgb */ color: rgb(28, 22, 127);
/* oklch */ color: oklch(30.4% 0.165 273.0);
Tailwind
colors: {
  custom: {
    50: '#6b56a5',
    500: '#1c167f',
    950: '#000000',
  },
}
SCSS
$custom: #1c167f;
$custom-light: #6b56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1c167f",
  "rgb": {
    "r": 28,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 243.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30357,
    "c": 0.16492,
    "h": 273
  },
  "luminance": 0.02353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C167F

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

Preview Lab → · Contrast checker → · Palette generator →

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