#1D207D#1D207D

#1D207D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.152 H 272.2°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1D207D
RGBrgb(29, 32, 125)
HSLhsl(238, 62%, 30%)
HSVhsv(238, 77%, 49%)
CMYKcmyk(76.8%, 74.4%, 0%, 51%)
CIE-LABlab(19.12, 32.46, -52.54)
CIE-LCHlch(19.12, 61.76, 301.71°)
OKLaboklab(31.63% 0.0059 -0.152)
OKLCHoklch(31.63% 0.152 272.2)
XYZxyz(4.7236, 2.7744, 19.6846)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D207D #7D7A1D
analogous
#1D507D #1D207D #4A1D7D
triadic
#1D207D #7D1D20 #207D1D
tetradic
#1D207D #7D1D50 #7D7A1D #1D7D4A
square
#1D207D #7D1D50 #7D7A1D #1D7D4A
split-complementary
#1D207D #7D4A1D #507D1D
monochromatic
#06071A #11134B #1D207D #292DAF #4146D3

Accessibility & contrast

On white

13.50
#1D207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D207D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D207D#FFFFFF#000000##FFFFFF
##1D207D1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002A7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d207d;
/* rgb */ color: rgb(29, 32, 125);
/* oklch */ color: oklch(31.6% 0.152 272.2);
Tailwind
colors: {
  custom: {
    50: '#6a5ca4',
    500: '#1d207d',
    950: '#000000',
  },
}
SCSS
$custom: #1d207d;
$custom-light: #6a5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d207d",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 238.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31633,
    "c": 0.15217,
    "h": 272.2
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#1D207D
secondary
#B1AD45
accent
#E042E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1D207D

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

Preview Lab → · Contrast checker → · Palette generator →

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