#1D206E#1D206E

#1D206E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.132 H 273.5°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#1D206E
RGBrgb(29, 32, 110)
HSLhsl(238, 58%, 27%)
HSVhsv(238, 74%, 43%)
CMYKcmyk(73.6%, 70.9%, 0%, 56.9%)
CIE-LABlab(17.55, 26.90, -45.48)
CIE-LCHlch(17.55, 52.84, 300.60°)
OKLaboklab(30.03% 0.0081 -0.1314)
OKLCHoklch(30.03% 0.132 273.5)
XYZxyz(3.8367, 2.4197, 15.0137)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D206E #6E6B1D
analogous
#1D486E #1D206E #431D6E
triadic
#1D206E #6E1D20 #206E1D
tetradic
#1D206E #6E1D48 #6E6B1D #1D6E43
square
#1D206E #6E1D48 #6E6B1D #1D6E43
split-complementary
#1D206E #6E431D #486E1D
monochromatic
#060718 #10123E #1D206E #2A2E9E #3A40CB

Accessibility & contrast

On white

14.15
#1D206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D206E
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D206E#FFFFFF#000000##FFFFFF
##1D206E1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d206e;
/* rgb */ color: rgb(29, 32, 110);
/* oklch */ color: oklch(30.0% 0.132 273.5);
Tailwind
colors: {
  custom: {
    50: '#665c98',
    500: '#1d206e',
    950: '#000000',
  },
}
SCSS
$custom: #1d206e;
$custom-light: #665c98;
$custom-dark: #000000;
JSON
{
  "hex": "#1d206e",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 237.778,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30033,
    "c": 0.13167,
    "h": 273.5
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#1D206E
secondary
#A29F44
accent
#DC46E1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D206E

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

Preview Lab → · Contrast checker → · Palette generator →

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