#1D1175#1D1175

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

Color values

HEX#1D1175
RGBrgb(29, 17, 117)
HSLhsl(247, 75%, 26%)
HSVhsv(247, 85%, 46%)
CMYKcmyk(75.2%, 85.5%, 0%, 54.1%)
CIE-LABlab(15.20, 38.22, -53.89)
CIE-LCHlch(15.20, 66.06, 305.34°)
OKLaboklab(28.6% 0.0147 -0.1558)
OKLCHoklch(28.6% 0.156 275.4)
XYZxyz(3.9170, 1.9461, 16.9954)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1175 #697511
analogous
#113775 #1D1175 #4F1175
triadic
#1D1175 #751D11 #11751D
tetradic
#1D1175 #751137 #697511 #11754F
square
#1D1175 #751137 #697511 #11754F
split-complementary
#1D1175 #754F11 #377511
monochromatic
#07041B #100940 #1D1175 #2A19AA #3822DF

Accessibility & contrast

On white

15.12
#1D1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1175
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1175#FFFFFF#000000##FFFFFF
##1D11751.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d1175;
/* rgb */ color: rgb(29, 17, 117);
/* oklch */ color: oklch(28.6% 0.156 275.4);
Tailwind
colors: {
  custom: {
    50: '#69539e',
    500: '#1d1175',
    950: '#000000',
  },
}
SCSS
$custom: #1d1175;
$custom-light: #69539e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1175",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 247.2,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28604,
    "c": 0.15648,
    "h": 275.4
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#1D1175
secondary
#9EAC36
accent
#F137DB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1D1175

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

Preview Lab → · Contrast checker → · Palette generator →

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