#1D205B#1D205B

#1D205B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.104 H 275.3°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#1D205B
RGBrgb(29, 32, 91)
HSLhsl(237, 52%, 24%)
HSVhsv(237, 68%, 36%)
CMYKcmyk(68.1%, 64.8%, 0%, 64.3%)
CIE-LABlab(15.74, 19.61, -35.92)
CIE-LCHlch(15.74, 40.92, 298.63°)
OKLaboklab(28.15% 0.0096 -0.1034)
OKLCHoklch(28.15% 0.104 275.3)
XYZxyz(2.9109, 2.0493, 10.1377)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D205B #5B581D
analogous
#1D3F5B #1D205B #391D5B
triadic
#1D205B #5B1D20 #205B1D
tetradic
#1D205B #5B1D3F #5B581D #1D5B39
square
#1D205B #5B1D3F #5B581D #1D5B39
split-complementary
#1D205B #5B391D #3F5B1D
monochromatic
#070817 #0E102D #1D205B #2C3089 #3B41B8

Accessibility & contrast

On white

14.89
#1D205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1D205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D205B
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D205B#FFFFFF#000000##FFFFFF
##1D205B1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#002F3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d205b;
/* rgb */ color: rgb(29, 32, 91);
/* oklch */ color: oklch(28.2% 0.104 275.3);
Tailwind
colors: {
  custom: {
    50: '#615b8a',
    500: '#1d205b',
    950: '#000000',
  },
}
SCSS
$custom: #1d205b;
$custom-light: #615b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d205b",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 237.097,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28153,
    "c": 0.10383,
    "h": 275.3
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#1D205B
secondary
#908C44
accent
#D44DDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1D205B

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

Preview Lab → · Contrast checker → · Palette generator →

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