#1C1173#1C1173

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

Color values

HEX#1C1173
RGBrgb(28, 17, 115)
HSLhsl(247, 74%, 26%)
HSVhsv(247, 85%, 45%)
CMYKcmyk(75.7%, 85.2%, 0%, 54.9%)
CIE-LABlab(14.87, 37.49, -53.14)
CIE-LCHlch(14.87, 65.03, 305.20°)
OKLaboklab(28.28% 0.0138 -0.1536)
OKLCHoklch(28.28% 0.154 275.1)
XYZxyz(3.7728, 1.8852, 16.3814)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C1173 #687311
analogous
#113773 #1C1173 #4D1173
triadic
#1C1173 #731C11 #11731C
tetradic
#1C1173 #731137 #687311 #11734D
square
#1C1173 #731137 #687311 #11734D
split-complementary
#1C1173 #734D11 #377311
monochromatic
#06041B #0F093E #1C1173 #2919A8 #3621DE

Accessibility & contrast

On white

15.25
#1C1173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C1173
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C1173#FFFFFF#000000##FFFFFF
##1C11731.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002171
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1c1173;
/* rgb */ color: rgb(28, 17, 115);
/* oklch */ color: oklch(28.3% 0.154 275.1);
Tailwind
colors: {
  custom: {
    50: '#69529c',
    500: '#1c1173',
    950: '#000000',
  },
}
SCSS
$custom: #1c1173;
$custom-light: #69529c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c1173",
  "rgb": {
    "r": 28,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 246.735,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28283,
    "c": 0.15426,
    "h": 275.1
  },
  "luminance": 0.01886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C1173

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

Preview Lab → · Contrast checker → · Palette generator →

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