#1D1972#1D1972

#1D1972 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.145 H 274.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#1D1972
RGBrgb(29, 25, 114)
HSLhsl(243, 64%, 27%)
HSVhsv(243, 78%, 45%)
CMYKcmyk(74.6%, 78.1%, 0%, 55.3%)
CIE-LABlab(16.36, 32.83, -50.03)
CIE-LCHlch(16.36, 59.84, 303.28°)
OKLaboklab(29.31% 0.0118 -0.1447)
OKLCHoklch(29.31% 0.145 274.7)
XYZxyz(3.8906, 2.1710, 16.1303)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1972 #6E7219
analogous
#194172 #1D1972 #4A1972
triadic
#1D1972 #721D19 #19721D
tetradic
#1D1972 #721941 #6E7219 #19724A
square
#1D1972 #721941 #6E7219 #19724A
split-complementary
#1D1972 #724A19 #417219
monochromatic
#060619 #100E40 #1D1972 #2A24A4 #3A33D2

Accessibility & contrast

On white

14.64
#1D1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1972
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1972#FFFFFF#000000##FFFFFF
##1D19721.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d1972;
/* rgb */ color: rgb(29, 25, 114);
/* oklch */ color: oklch(29.3% 0.145 274.7);
Tailwind
colors: {
  custom: {
    50: '#68579c',
    500: '#1d1972',
    950: '#000000',
  },
}
SCSS
$custom: #1d1972;
$custom-light: #68579c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1972",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 242.697,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29309,
    "c": 0.14517,
    "h": 274.7
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#1D1972
secondary
#A2A740
accent
#E741E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1972

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

Preview Lab → · Contrast checker → · Palette generator →

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