#1D1970#1D1970

#1D1970 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.143 H 274.9°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#1D1970
RGBrgb(29, 25, 112)
HSLhsl(243, 64%, 27%)
HSVhsv(243, 78%, 44%)
CMYKcmyk(74.1%, 77.7%, 0%, 56.1%)
CIE-LABlab(16.14, 32.13, -49.11)
CIE-LCHlch(16.14, 58.68, 303.19°)
OKLaboklab(29.08% 0.0122 -0.142)
OKLCHoklch(29.08% 0.143 274.9)
XYZxyz(3.7780, 2.1260, 15.5373)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1970 #6C7019
analogous
#194170 #1D1970 #491970
triadic
#1D1970 #701D19 #19701D
tetradic
#1D1970 #701941 #6C7019 #197049
square
#1D1970 #701941 #6C7019 #197049
split-complementary
#1D1970 #704919 #417019
monochromatic
#060619 #100E3E #1D1970 #2A24A2 #3932D1

Accessibility & contrast

On white

14.73
#1D1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1970
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1970#FFFFFF#000000##FFFFFF
##1D19701.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1970;
/* rgb */ color: rgb(29, 25, 112);
/* oklch */ color: oklch(29.1% 0.143 274.9);
Tailwind
colors: {
  custom: {
    50: '#67579a',
    500: '#1d1970',
    950: '#000000',
  },
}
SCSS
$custom: #1d1970;
$custom-light: #67579a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1970",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 242.759,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29082,
    "c": 0.14253,
    "h": 274.9
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#1D1970
secondary
#A1A540
accent
#E741DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1970

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

Preview Lab → · Contrast checker → · Palette generator →

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