#1C1174#1C1174

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

Color values

HEX#1C1174
RGBrgb(28, 17, 116)
HSLhsl(247, 74%, 26%)
HSVhsv(247, 85%, 45%)
CMYKcmyk(75.9%, 85.3%, 0%, 54.5%)
CIE-LABlab(15.00, 37.81, -53.58)
CIE-LCHlch(15.00, 65.58, 305.21°)
OKLaboklab(28.41% 0.0136 -0.1549)
OKLCHoklch(28.41% 0.156 275)
XYZxyz(3.8307, 1.9083, 16.6861)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1174 #697411
analogous
#113774 #1C1174 #4D1174
triadic
#1C1174 #741C11 #11741C
tetradic
#1C1174 #741137 #697411 #11744D
square
#1C1174 #741137 #697411 #11744D
split-complementary
#1C1174 #744D11 #377411
monochromatic
#06041B #0F093F #1C1174 #2919A9 #3621DE

Accessibility & contrast

On white

15.20
#1C1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1C1174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C1174
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1174#FFFFFF#000000##FFFFFF
##1C11741.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002172
Tritanopia (blue-blind)
#003044
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1c1174;
/* rgb */ color: rgb(28, 17, 116);
/* oklch */ color: oklch(28.4% 0.156 275.0);
Tailwind
colors: {
  custom: {
    50: '#69539d',
    500: '#1c1174',
    950: '#000000',
  },
}
SCSS
$custom: #1c1174;
$custom-light: #69539d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1174",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 246.667,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28407,
    "c": 0.15551,
    "h": 275
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C1174

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

Preview Lab → · Contrast checker → · Palette generator →

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