#1D206B#1D206B

#1D206B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.7% C 0.127 H 273.8°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#1D206B
RGBrgb(29, 32, 107)
HSLhsl(238, 57%, 27%)
HSVhsv(238, 73%, 42%)
CMYKcmyk(72.9%, 70.1%, 0%, 58%)
CIE-LABlab(17.25, 25.77, -44.02)
CIE-LCHlch(17.25, 51.00, 300.34°)
OKLaboklab(29.72% 0.0084 -0.1272)
OKLCHoklch(29.72% 0.127 273.8)
XYZxyz(3.6762, 2.3554, 14.1680)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D206B #6B681D
analogous
#1D476B #1D206B #411D6B
triadic
#1D206B #6B1D20 #206B1D
tetradic
#1D206B #6B1D47 #6B681D #1D6B41
square
#1D206B #6B1D47 #6B681D #1D6B41
split-complementary
#1D206B #6B411D #476B1D
monochromatic
#070718 #10123B #1D206B #2A2E9B #393FC9

Accessibility & contrast

On white

14.27
#1D206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1D206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D206B
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D206B#FFFFFF#000000##FFFFFF
##1D206B1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d206b;
/* rgb */ color: rgb(29, 32, 107);
/* oklch */ color: oklch(29.7% 0.127 273.8);
Tailwind
colors: {
  custom: {
    50: '#655b96',
    500: '#1d206b',
    950: '#000000',
  },
}
SCSS
$custom: #1d206b;
$custom-light: #655b96;
$custom-dark: #000000;
JSON
{
  "hex": "#1d206b",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 237.692,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29724,
    "c": 0.12743,
    "h": 273.8
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#1D206B
secondary
#A09C44
accent
#DB47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1D206B

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

Preview Lab → · Contrast checker → · Palette generator →

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