#1C1579#1C1579

#1C1579 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.158 H 273.8°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#1C1579
RGBrgb(28, 21, 121)
HSLhsl(244, 70%, 28%)
HSVhsv(244, 83%, 47%)
CMYKcmyk(76.9%, 82.6%, 0%, 52.5%)
CIE-LABlab(16.32, 37.41, -54.61)
CIE-LCHlch(16.32, 66.19, 304.41°)
OKLaboklab(29.51% 0.0106 -0.158)
OKLCHoklch(29.51% 0.158 273.8)
XYZxyz(4.1971, 2.1633, 18.2818)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1579 #727915
analogous
#154079 #1C1579 #4E1579
triadic
#1C1579 #791C15 #15791C
tetradic
#1C1579 #791540 #727915 #15794E
square
#1C1579 #791540 #727915 #15794E
split-complementary
#1C1579 #794E15 #407915
monochromatic
#06051A #100C45 #1C1579 #281EAD #3A2EDB

Accessibility & contrast

On white

14.66
#1C1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1C1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1579
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1579#FFFFFF#000000##FFFFFF
##1C15791.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1c1579;
/* rgb */ color: rgb(28, 21, 121);
/* oklch */ color: oklch(29.5% 0.158 273.8);
Tailwind
colors: {
  custom: {
    50: '#6a55a1',
    500: '#1c1579',
    950: '#000000',
  },
}
SCSS
$custom: #1c1579;
$custom-light: #6a55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1579",
  "rgb": {
    "r": 28,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 244.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29505,
    "c": 0.15833,
    "h": 273.8
  },
  "luminance": 0.02164
}

Semantic roles & 50–950 ramp

primary
#1C1579
secondary
#A6AF3B
accent
#ED3BE1
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1C1579

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

Preview Lab → · Contrast checker → · Palette generator →

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