#1D205C#1D205C

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

Color values

HEX#1D205C
RGBrgb(29, 32, 92)
HSLhsl(237, 52%, 24%)
HSVhsv(237, 68%, 36%)
CMYKcmyk(68.5%, 65.2%, 0%, 63.9%)
CIE-LABlab(15.83, 20.00, -36.44)
CIE-LCHlch(15.83, 41.56, 298.75°)
OKLaboklab(28.25% 0.0095 -0.1049)
OKLCHoklch(28.25% 0.105 275.2)
XYZxyz(2.9543, 2.0667, 10.3664)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D205C #5C591D
analogous
#1D3F5C #1D205C #391D5C
triadic
#1D205C #5C1D20 #205C1D
tetradic
#1D205C #5C1D3F #5C591D #1D5C39
square
#1D205C #5C1D3F #5C591D #1D5C39
split-complementary
#1D205C #5C391D #3F5C1D
monochromatic
#070817 #0E102D #1D205C #2C308B #3A40B9

Accessibility & contrast

On white

14.86
#1D205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D205C
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D205C#FFFFFF#000000##FFFFFF
##1D205C1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d205c;
/* rgb */ color: rgb(29, 32, 92);
/* oklch */ color: oklch(28.2% 0.105 275.2);
Tailwind
colors: {
  custom: {
    50: '#625b8b',
    500: '#1d205c',
    950: '#000000',
  },
}
SCSS
$custom: #1d205c;
$custom-light: #625b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d205c",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 237.143,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28247,
    "c": 0.10535,
    "h": 275.2
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#1D205C
secondary
#918D44
accent
#D54CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1D205C

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

Preview Lab → · Contrast checker → · Palette generator →

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