#1D206F#1D206F

#1D206F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.133 H 273.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#1D206F
RGBrgb(29, 32, 111)
HSLhsl(238, 59%, 27%)
HSVhsv(238, 74%, 44%)
CMYKcmyk(73.9%, 71.2%, 0%, 56.5%)
CIE-LABlab(17.65, 27.28, -45.96)
CIE-LCHlch(17.65, 53.45, 300.69°)
OKLaboklab(30.14% 0.0079 -0.1328)
OKLCHoklch(30.14% 0.133 273.4)
XYZxyz(3.8915, 2.4416, 15.3020)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D206F #6F6C1D
analogous
#1D496F #1D206F #431D6F
triadic
#1D206F #6F1D20 #206F1D
tetradic
#1D206F #6F1D49 #6F6C1D #1D6F43
square
#1D206F #6F1D49 #6F6C1D #1D6F43
split-complementary
#1D206F #6F431D #496F1D
monochromatic
#060718 #10123E #1D206F #2A2EA0 #3B40CC

Accessibility & contrast

On white

14.11
#1D206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D206F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D206F#FFFFFF#000000##FFFFFF
##1D206F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00276E
Tritanopia (blue-blind)
#003544
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1d206f;
/* rgb */ color: rgb(29, 32, 111);
/* oklch */ color: oklch(30.1% 0.133 273.4);
Tailwind
colors: {
  custom: {
    50: '#665c99',
    500: '#1d206f',
    950: '#000000',
  },
}
SCSS
$custom: #1d206f;
$custom-light: #665c99;
$custom-dark: #000000;
JSON
{
  "hex": "#1d206f",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 237.805,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30137,
    "c": 0.13307,
    "h": 273.4
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#1D206F
secondary
#A3A044
accent
#DC46E2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D206F

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

Preview Lab → · Contrast checker → · Palette generator →

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