#1D205D#1D205D

#1D205D is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.107 H 275.1°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#1D205D
RGBrgb(29, 32, 93)
HSLhsl(237, 52%, 24%)
HSVhsv(237, 69%, 36%)
CMYKcmyk(68.8%, 65.6%, 0%, 63.5%)
CIE-LABlab(15.92, 20.38, -36.96)
CIE-LCHlch(15.92, 42.21, 298.88°)
OKLaboklab(28.34% 0.0095 -0.1064)
OKLCHoklch(28.34% 0.107 275.1)
XYZxyz(2.9983, 2.0843, 10.5981)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D205D #5D5A1D
analogous
#1D405D #1D205D #3A1D5D
triadic
#1D205D #5D1D20 #205D1D
tetradic
#1D205D #5D1D40 #5D5A1D #1D5D3A
square
#1D205D #5D1D40 #5D5A1D #1D5D3A
split-complementary
#1D205D #5D3A1D #405D1D
monochromatic
#070817 #0E102E #1D205D #2C308C #3A40BA

Accessibility & contrast

On white

14.82
#1D205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1D205D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D205D
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D205D#FFFFFF#000000##FFFFFF
##1D205D1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d205d;
/* rgb */ color: rgb(29, 32, 93);
/* oklch */ color: oklch(28.3% 0.107 275.1);
Tailwind
colors: {
  custom: {
    50: '#625b8b',
    500: '#1d205d',
    950: '#000000',
  },
}
SCSS
$custom: #1d205d;
$custom-light: #625b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d205d",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 237.188,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28342,
    "c": 0.10687,
    "h": 275.1
  },
  "luminance": 0.02085
}

Semantic roles & 50–950 ramp

primary
#1D205D
secondary
#928E44
accent
#D54CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1D205D

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

Preview Lab → · Contrast checker → · Palette generator →

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