#1D1174#1D1174

#1D1174 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.5% C 0.155 H 275.6°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#1D1174
RGBrgb(29, 17, 116)
HSLhsl(247, 74%, 26%)
HSVhsv(247, 85%, 45%)
CMYKcmyk(75%, 85.3%, 0%, 54.5%)
CIE-LABlab(15.08, 37.89, -53.45)
CIE-LCHlch(15.08, 65.52, 305.33°)
OKLaboklab(28.48% 0.015 -0.1545)
OKLCHoklch(28.48% 0.155 275.6)
XYZxyz(3.8585, 1.9227, 16.6874)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1174 #687411
analogous
#113674 #1D1174 #4E1174
triadic
#1D1174 #741D11 #11741D
tetradic
#1D1174 #741136 #687411 #11744E
square
#1D1174 #741136 #687411 #11744E
split-complementary
#1D1174 #744E11 #367411
monochromatic
#07041B #10093F #1D1174 #2A19A9 #3821DE

Accessibility & contrast

On white

15.17
#1D1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1174
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1174#FFFFFF#000000##FFFFFF
##1D11741.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.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: #1d1174;
/* rgb */ color: rgb(29, 17, 116);
/* oklch */ color: oklch(28.5% 0.155 275.6);
Tailwind
colors: {
  custom: {
    50: '#69539d',
    500: '#1d1174',
    950: '#000000',
  },
}
SCSS
$custom: #1d1174;
$custom-light: #69539d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1174",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 247.273,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2848,
    "c": 0.15524,
    "h": 275.6
  },
  "luminance": 0.01923
}

Semantic roles & 50–950 ramp

primary
#1D1174
secondary
#9DAB36
accent
#F137DA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1D1174

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

Preview Lab → · Contrast checker → · Palette generator →

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