#1C157A#1C157A

#1C157A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.160 H 273.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#1C157A
RGBrgb(28, 21, 122)
HSLhsl(244, 71%, 28%)
HSVhsv(244, 83%, 48%)
CMYKcmyk(77%, 82.8%, 0%, 52.2%)
CIE-LABlab(16.44, 37.74, -55.05)
CIE-LCHlch(16.44, 66.74, 304.44°)
OKLaboklab(29.63% 0.0104 -0.1592)
OKLCHoklch(29.63% 0.16 273.7)
XYZxyz(4.2587, 2.1879, 18.6064)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C157A #737A15
analogous
#15417A #1C157A #4E157A
triadic
#1C157A #7A1C15 #157A1C
tetradic
#1C157A #7A1541 #737A15 #157A4E
square
#1C157A #7A1541 #737A15 #157A4E
split-complementary
#1C157A #7A4E15 #417A15
monochromatic
#06041A #100C46 #1C157A #281EAE #3A2EDB

Accessibility & contrast

On white

14.61
#1C157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1C157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C157A
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C157A#FFFFFF#000000##FFFFFF
##1C157A1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c157a;
/* rgb */ color: rgb(28, 21, 122);
/* oklch */ color: oklch(29.6% 0.160 273.7);
Tailwind
colors: {
  custom: {
    50: '#6a55a2',
    500: '#1c157a',
    950: '#000000',
  },
}
SCSS
$custom: #1c157a;
$custom-light: #6a55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1c157a",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 244.158,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29626,
    "c": 0.15958,
    "h": 273.7
  },
  "luminance": 0.02188
}

Semantic roles & 50–950 ramp

primary
#1C157A
secondary
#A7AF3B
accent
#ED3AE1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1C157A

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

Preview Lab → · Contrast checker → · Palette generator →

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