#1C1176#1C1176

#1C1176 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.158 H 274.7°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#1C1176
RGBrgb(28, 17, 118)
HSLhsl(247, 75%, 26%)
HSVhsv(247, 86%, 46%)
CMYKcmyk(76.3%, 85.6%, 0%, 53.7%)
CIE-LABlab(15.25, 38.46, -54.45)
CIE-LCHlch(15.25, 66.67, 305.23°)
OKLaboklab(28.65% 0.013 -0.1574)
OKLCHoklch(28.65% 0.158 274.7)
XYZxyz(3.9483, 1.9554, 17.3054)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1176 #6B7611
analogous
#113976 #1C1176 #4F1176
triadic
#1C1176 #761C11 #11761C
tetradic
#1C1176 #761139 #6B7611 #11764F
square
#1C1176 #761139 #6B7611 #11764F
split-complementary
#1C1176 #764F11 #397611
monochromatic
#06041B #0F0941 #1C1176 #2919AB #3722DF

Accessibility & contrast

On white

15.09
#1C1176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1176
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1176#FFFFFF#000000##FFFFFF
##1C11761.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002274
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c1176;
/* rgb */ color: rgb(28, 17, 118);
/* oklch */ color: oklch(28.7% 0.158 274.7);
Tailwind
colors: {
  custom: {
    50: '#69539f',
    500: '#1c1176',
    950: '#000000',
  },
}
SCSS
$custom: #1c1176;
$custom-light: #69539f;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1176",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 246.535,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28654,
    "c": 0.15798,
    "h": 274.7
  },
  "luminance": 0.01956
}

Semantic roles & 50–950 ramp

primary
#1C1176
secondary
#A0AD36
accent
#F136DD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #1C1176

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

Preview Lab → · Contrast checker → · Palette generator →

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