#1D205F#1D205F

#1D205F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.110 H 274.9°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#1D205F
RGBrgb(29, 32, 95)
HSLhsl(237, 53%, 24%)
HSVhsv(237, 69%, 37%)
CMYKcmyk(69.5%, 66.3%, 0%, 62.7%)
CIE-LABlab(16.11, 21.16, -37.99)
CIE-LCHlch(16.11, 43.49, 299.12°)
OKLaboklab(28.53% 0.0094 -0.1095)
OKLCHoklch(28.53% 0.11 274.9)
XYZxyz(3.0881, 2.1202, 11.0708)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D205F #5F5C1D
analogous
#1D415F #1D205F #3B1D5F
triadic
#1D205F #5F1D20 #205F1D
tetradic
#1D205F #5F1D41 #5F5C1D #1D5F3B
square
#1D205F #5F1D41 #5F5C1D #1D5F3B
split-complementary
#1D205F #5F3B1D #415F1D
monochromatic
#070817 #0F1030 #1D205F #2B308E #3A40BD

Accessibility & contrast

On white

14.75
#1D205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D205F
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D205F#FFFFFF#000000##FFFFFF
##1D205F1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d205f;
/* rgb */ color: rgb(29, 32, 95);
/* oklch */ color: oklch(28.5% 0.110 274.9);
Tailwind
colors: {
  custom: {
    50: '#625b8d',
    500: '#1d205f',
    950: '#000000',
  },
}
SCSS
$custom: #1d205f;
$custom-light: #625b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d205f",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 237.273,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28533,
    "c": 0.10988,
    "h": 274.9
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#1D205F
secondary
#949044
accent
#D64BDD
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1D205F

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

Preview Lab → · Contrast checker → · Palette generator →

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