#1C1372#1C1372

#1C1372 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.151 H 275.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#1C1372
RGBrgb(28, 19, 114)
HSLhsl(246, 71%, 26%)
HSVhsv(246, 83%, 45%)
CMYKcmyk(75.4%, 83.3%, 0%, 55.3%)
CIE-LABlab(15.10, 36.13, -52.12)
CIE-LCHlch(15.10, 63.42, 304.73°)
OKLaboklab(28.41% 0.0133 -0.1507)
OKLCHoklch(28.41% 0.151 275.1)
XYZxyz(3.7480, 1.9272, 16.0908)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1372 #697213
analogous
#133972 #1C1372 #4B1372
triadic
#1C1372 #721C13 #13721C
tetradic
#1C1372 #721339 #697213 #13724B
square
#1C1372 #721339 #697213 #13724B
split-complementary
#1C1372 #724B13 #397213
monochromatic
#06041A #0F0A3E #1C1372 #291CA6 #3625DB

Accessibility & contrast

On white

15.16
#1C1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1C1372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1372
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1372#FFFFFF#000000##FFFFFF
##1C13721.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002270
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c1372;
/* rgb */ color: rgb(28, 19, 114);
/* oklch */ color: oklch(28.4% 0.151 275.1);
Tailwind
colors: {
  custom: {
    50: '#68539c',
    500: '#1c1372',
    950: '#000000',
  },
}
SCSS
$custom: #1c1372;
$custom-light: #68539c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1372",
  "rgb": {
    "r": 28,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 245.684,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28405,
    "c": 0.1513,
    "h": 275.1
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#1C1372
secondary
#9EA938
accent
#EE3ADD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1C1372

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

Preview Lab → · Contrast checker → · Palette generator →

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