#1D207A#1D207A

#1D207A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.148 H 272.5°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#1D207A
RGBrgb(29, 32, 122)
HSLhsl(238, 62%, 30%)
HSVhsv(238, 76%, 48%)
CMYKcmyk(76.2%, 73.8%, 0%, 52.2%)
CIE-LABlab(18.80, 31.37, -51.16)
CIE-LCHlch(18.80, 60.01, 301.51°)
OKLaboklab(31.31% 0.0064 -0.148)
OKLCHoklch(31.31% 0.148 272.5)
XYZxyz(4.5349, 2.6989, 18.6905)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D207A #7A771D
analogous
#1D4E7A #1D207A #491D7A
triadic
#1D207A #7A1D20 #207A1D
tetradic
#1D207A #7A1D4E #7A771D #1D7A49
square
#1D207A #7A1D4E #7A771D #1D7A49
split-complementary
#1D207A #7A491D #4E7A1D
monochromatic
#060619 #111349 #1D207A #292DAB #4045D2

Accessibility & contrast

On white

13.64
#1D207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D207A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D207A#FFFFFF#000000##FFFFFF
##1D207A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d207a;
/* rgb */ color: rgb(29, 32, 122);
/* oklch */ color: oklch(31.3% 0.148 272.5);
Tailwind
colors: {
  custom: {
    50: '#695ca1',
    500: '#1d207a',
    950: '#000000',
  },
}
SCSS
$custom: #1d207a;
$custom-light: #695ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d207a",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 238.065,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31307,
    "c": 0.14816,
    "h": 272.5
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#1D207A
secondary
#AEAA45
accent
#DF43E5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D207A

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

Preview Lab → · Contrast checker → · Palette generator →

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