#1D208F#1D208F

#1D208F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.175 H 270.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#1D208F
RGBrgb(29, 32, 143)
HSLhsl(238, 66%, 34%)
HSVhsv(238, 80%, 56%)
CMYKcmyk(79.7%, 77.6%, 0%, 43.9%)
CIE-LABlab(21.12, 38.86, -60.55)
CIE-LCHlch(21.12, 71.95, 302.69°)
OKLaboklab(33.65% 0.0028 -0.1753)
OKLCHoklch(33.65% 0.175 270.9)
XYZxyz(5.9795, 3.2767, 26.2986)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D208F #8F8C1D
analogous
#1D598F #1D208F #531D8F
triadic
#1D208F #8F1D20 #208F1D
tetradic
#1D208F #8F1D59 #8F8C1D #1D8F53
square
#1D208F #8F1D59 #8F8C1D #1D8F53
split-complementary
#1D208F #8F531D #598F1D
monochromatic
#080929 #13155C #1D208F #272BC2 #4C50DB

Accessibility & contrast

On white

12.69
#1D208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1D208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D208F
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D208F#FFFFFF#000000##FFFFFF
##1D208F1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d208f;
/* rgb */ color: rgb(29, 32, 143);
/* oklch */ color: oklch(33.7% 0.175 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f5db1',
    500: '#1d208f',
    950: '#000000',
  },
}
SCSS
$custom: #1d208f;
$custom-light: #6f5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d208f",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 238.421,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33652,
    "c": 0.17537,
    "h": 270.9
  },
  "luminance": 0.03277
}

Semantic roles & 50–950 ramp

primary
#1D208F
secondary
#BDBA4B
accent
#E53FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D208F

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

Preview Lab → · Contrast checker → · Palette generator →

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