#1D206C#1D206C

#1D206C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.129 H 273.7°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#1D206C
RGBrgb(29, 32, 108)
HSLhsl(238, 58%, 27%)
HSVhsv(238, 73%, 42%)
CMYKcmyk(73.1%, 70.4%, 0%, 57.6%)
CIE-LABlab(17.35, 26.14, -44.51)
CIE-LCHlch(17.35, 51.62, 300.43°)
OKLaboklab(29.83% 0.0083 -0.1286)
OKLCHoklch(29.83% 0.129 273.7)
XYZxyz(3.7291, 2.3766, 14.4467)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D206C #6C691D
analogous
#1D486C #1D206C #421D6C
triadic
#1D206C #6C1D20 #206C1D
tetradic
#1D206C #6C1D48 #6C691D #1D6C42
square
#1D206C #6C1D48 #6C691D #1D6C42
split-complementary
#1D206C #6C421D #486C1D
monochromatic
#060718 #10123C #1D206C #2A2E9C #393FCA

Accessibility & contrast

On white

14.23
#1D206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D206C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D206C#FFFFFF#000000##FFFFFF
##1D206C1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003443
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d206c;
/* rgb */ color: rgb(29, 32, 108);
/* oklch */ color: oklch(29.8% 0.129 273.7);
Tailwind
colors: {
  custom: {
    50: '#665b97',
    500: '#1d206c',
    950: '#000000',
  },
}
SCSS
$custom: #1d206c;
$custom-light: #665b97;
$custom-dark: #000000;
JSON
{
  "hex": "#1d206c",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 237.722,
    "s": 57.664,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29827,
    "c": 0.12885,
    "h": 273.7
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D206C

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

Preview Lab → · Contrast checker → · Palette generator →

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