#1D206D#1D206D

#1D206D is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.130 H 273.6°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#1D206D
RGBrgb(29, 32, 109)
HSLhsl(238, 58%, 27%)
HSVhsv(238, 73%, 43%)
CMYKcmyk(73.4%, 70.6%, 0%, 57.3%)
CIE-LABlab(17.45, 26.52, -44.99)
CIE-LCHlch(17.45, 52.23, 300.52°)
OKLaboklab(29.93% 0.0082 -0.13)
OKLCHoklch(29.93% 0.13 273.6)
XYZxyz(3.7826, 2.3980, 14.7285)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D206D #6D6A1D
analogous
#1D486D #1D206D #421D6D
triadic
#1D206D #6D1D20 #206D1D
tetradic
#1D206D #6D1D48 #6D6A1D #1D6D42
square
#1D206D #6D1D48 #6D6A1D #1D6D42
split-complementary
#1D206D #6D421D #486D1D
monochromatic
#060718 #10123D #1D206D #2A2E9D #3A3FCB

Accessibility & contrast

On white

14.19
#1D206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1D206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D206D
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D206D#FFFFFF#000000##FFFFFF
##1D206D1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d206d;
/* rgb */ color: rgb(29, 32, 109);
/* oklch */ color: oklch(29.9% 0.130 273.6);
Tailwind
colors: {
  custom: {
    50: '#665c98',
    500: '#1d206d',
    950: '#000000',
  },
}
SCSS
$custom: #1d206d;
$custom-light: #665c98;
$custom-dark: #000000;
JSON
{
  "hex": "#1d206d",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 237.75,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.2993,
    "c": 0.13026,
    "h": 273.6
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#1D206D
secondary
#A29E44
accent
#DB47E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1D206D

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

Preview Lab → · Contrast checker → · Palette generator →

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