#1D1470#1D1470

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

Color values

HEX#1D1470
RGBrgb(29, 20, 112)
HSLhsl(246, 70%, 26%)
HSVhsv(246, 82%, 44%)
CMYKcmyk(74.1%, 82.1%, 0%, 56.1%)
CIE-LABlab(15.12, 35.02, -50.78)
CIE-LCHlch(15.12, 61.69, 304.59°)
OKLaboklab(28.37% 0.0149 -0.1468)
OKLCHoklch(28.37% 0.148 275.8)
XYZxyz(3.6805, 1.9310, 15.5049)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1470 #677014
analogous
#143970 #1D1470 #4B1470
triadic
#1D1470 #701D14 #14701D
tetradic
#1D1470 #701439 #677014 #14704B
square
#1D1470 #701439 #677014 #14704B
split-complementary
#1D1470 #704B14 #397014
monochromatic
#07051A #100B3C #1D1470 #2A1DA4 #3827D8

Accessibility & contrast

On white

15.15
#1D1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1470
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1470#FFFFFF#000000##FFFFFF
##1D14701.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00226E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d1470;
/* rgb */ color: rgb(29, 20, 112);
/* oklch */ color: oklch(28.4% 0.148 275.8);
Tailwind
colors: {
  custom: {
    50: '#68549a',
    500: '#1d1470',
    950: '#000000',
  },
}
SCSS
$custom: #1d1470;
$custom-light: #68549a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1470",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 245.87,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28368,
    "c": 0.14757,
    "h": 275.8
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#1D1470
secondary
#9CA639
accent
#ED3BDB
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1470

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

Preview Lab → · Contrast checker → · Palette generator →

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