#1D1475#1D1475

#1D1475 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.0% C 0.154 H 275.0°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#1D1475
RGBrgb(29, 20, 117)
HSLhsl(246, 71%, 27%)
HSVhsv(246, 83%, 46%)
CMYKcmyk(75.2%, 82.9%, 0%, 54.1%)
CIE-LABlab(15.72, 36.69, -53.02)
CIE-LCHlch(15.72, 64.48, 304.68°)
OKLaboklab(28.97% 0.0135 -0.1533)
OKLCHoklch(28.97% 0.154 275)
XYZxyz(3.9667, 2.0455, 17.0119)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1475 #6C7514
analogous
#143C75 #1D1475 #4E1475
triadic
#1D1475 #751D14 #14751D
tetradic
#1D1475 #75143C #6C7514 #14754E
square
#1D1475 #75143C #6C7514 #14754E
split-complementary
#1D1475 #754E14 #3C7514
monochromatic
#06041A #100B41 #1D1475 #2A1DA9 #3929DA

Accessibility & contrast

On white

14.90
#1D1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1D1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1475
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1475#FFFFFF#000000##FFFFFF
##1D14751.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1475;
/* rgb */ color: rgb(29, 20, 117);
/* oklch */ color: oklch(29.0% 0.154 275.0);
Tailwind
colors: {
  custom: {
    50: '#69549e',
    500: '#1d1475',
    950: '#000000',
  },
}
SCSS
$custom: #1d1475;
$custom-light: #69549e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1475",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 245.567,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28966,
    "c": 0.15391,
    "h": 275
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#1D1475
secondary
#A1AB3A
accent
#EE3ADD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1475

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

Preview Lab → · Contrast checker → · Palette generator →

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