#1D1980#1D1980

#1D1980 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.163 H 273.0°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#1D1980
RGBrgb(29, 25, 128)
HSLhsl(242, 67%, 30%)
HSVhsv(242, 80%, 50%)
CMYKcmyk(77.3%, 80.5%, 0%, 49.8%)
CIE-LABlab(17.98, 37.68, -56.32)
CIE-LCHlch(17.98, 67.76, 303.78°)
OKLaboklab(30.93% 0.0086 -0.163)
OKLCHoklch(30.93% 0.163 273)
XYZxyz(4.7493, 2.5145, 20.6529)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1980 #7C8019
analogous
#194980 #1D1980 #501980
triadic
#1D1980 #801D19 #19801D
tetradic
#1D1980 #801949 #7C8019 #198050
square
#1D1980 #801949 #7C8019 #198050
split-complementary
#1D1980 #805019 #498019
monochromatic
#06051A #110F4D #1D1980 #2923B3 #413BD9

Accessibility & contrast

On white

13.97
#1D1980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1D1980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1980
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1980#FFFFFF#000000##FFFFFF
##1D19801.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d1980;
/* rgb */ color: rgb(29, 25, 128);
/* oklch */ color: oklch(30.9% 0.163 273.0);
Tailwind
colors: {
  custom: {
    50: '#6c58a6',
    500: '#1d1980',
    950: '#000000',
  },
}
SCSS
$custom: #1d1980;
$custom-light: #6c58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1980",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 242.33,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.30931,
    "c": 0.1632,
    "h": 273
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#1D1980
secondary
#B0B441
accent
#EA3EE4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D1980

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

Preview Lab → · Contrast checker → · Palette generator →

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