#1C1172#1C1172

#1C1172 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.153 H 275.3°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#1C1172
RGBrgb(28, 17, 114)
HSLhsl(247, 74%, 26%)
HSVhsv(247, 85%, 45%)
CMYKcmyk(75.4%, 85.1%, 0%, 55.3%)
CIE-LABlab(14.75, 37.16, -52.70)
CIE-LCHlch(14.75, 64.49, 305.19°)
OKLaboklab(28.16% 0.0141 -0.1524)
OKLCHoklch(28.16% 0.153 275.3)
XYZxyz(3.7156, 1.8623, 16.0800)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1172 #677211
analogous
#113672 #1C1172 #4C1172
triadic
#1C1172 #721C11 #11721C
tetradic
#1C1172 #721136 #677211 #11724C
square
#1C1172 #721136 #677211 #11724C
split-complementary
#1C1172 #724C11 #367211
monochromatic
#07041B #0F093D #1C1172 #2919A7 #3621DD

Accessibility & contrast

On white

15.30
#1C1172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1C1172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1172
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1172#FFFFFF#000000##FFFFFF
##1C11721.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1c1172;
/* rgb */ color: rgb(28, 17, 114);
/* oklch */ color: oklch(28.2% 0.153 275.3);
Tailwind
colors: {
  custom: {
    50: '#68529c',
    500: '#1c1172',
    950: '#000000',
  },
}
SCSS
$custom: #1c1172;
$custom-light: #68529c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1172",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 246.804,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2816,
    "c": 0.15302,
    "h": 275.3
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#1C1172
secondary
#9CA936
accent
#F137DC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1C1172

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

Preview Lab → · Contrast checker → · Palette generator →

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