#1D1670#1D1670

#1D1670 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.146 H 275.5°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#1D1670
RGBrgb(29, 22, 112)
HSLhsl(245, 67%, 26%)
HSVhsv(245, 80%, 44%)
CMYKcmyk(74.1%, 80.4%, 0%, 56.1%)
CIE-LABlab(15.51, 33.90, -50.14)
CIE-LCHlch(15.51, 60.52, 304.06°)
OKLaboklab(28.64% 0.0139 -0.145)
OKLCHoklch(28.64% 0.146 275.5)
XYZxyz(3.7173, 2.0045, 15.5171)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1670 #697016
analogous
#163C70 #1D1670 #4A1670
triadic
#1D1670 #701D16 #16701D
tetradic
#1D1670 #70163C #697016 #16704A
square
#1D1670 #70163C #697016 #16704A
split-complementary
#1D1670 #704A16 #3C7016
monochromatic
#07051A #100C3D #1D1670 #2A20A3 #382BD5

Accessibility & contrast

On white

14.99
#1D1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1D1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1670
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1670#FFFFFF#000000##FFFFFF
##1D16701.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1670;
/* rgb */ color: rgb(29, 22, 112);
/* oklch */ color: oklch(28.6% 0.146 275.5);
Tailwind
colors: {
  custom: {
    50: '#68559a',
    500: '#1d1670',
    950: '#000000',
  },
}
SCSS
$custom: #1d1670;
$custom-light: #68559a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1670",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 244.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28642,
    "c": 0.14563,
    "h": 275.5
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#1D1670
secondary
#9EA63C
accent
#EA3EDD
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1670

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

Preview Lab → · Contrast checker → · Palette generator →

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