#1D205E#1D205E

#1D205E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.108 H 275.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#1D205E
RGBrgb(29, 32, 94)
HSLhsl(237, 53%, 24%)
HSVhsv(237, 69%, 37%)
CMYKcmyk(69.1%, 66%, 0%, 63.1%)
CIE-LABlab(16.01, 20.77, -37.48)
CIE-LCHlch(16.01, 42.85, 299.00°)
OKLaboklab(28.44% 0.0094 -0.108)
OKLCHoklch(28.44% 0.108 275)
XYZxyz(3.0429, 2.1021, 10.8329)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D205E #5E5B1D
analogous
#1D415E #1D205E #3B1D5E
triadic
#1D205E #5E1D20 #205E1D
tetradic
#1D205E #5E1D41 #5E5B1D #1D5E3B
square
#1D205E #5E1D41 #5E5B1D #1D5E3B
split-complementary
#1D205E #5E3B1D #415E1D
monochromatic
#070817 #0F102F #1D205E #2B308D #3A40BC

Accessibility & contrast

On white

14.78
#1D205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D205E
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D205E#FFFFFF#000000##FFFFFF
##1D205E1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d205e;
/* rgb */ color: rgb(29, 32, 94);
/* oklch */ color: oklch(28.4% 0.108 275.0);
Tailwind
colors: {
  custom: {
    50: '#625b8c',
    500: '#1d205e',
    950: '#000000',
  },
}
SCSS
$custom: #1d205e;
$custom-light: #625b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d205e",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 237.231,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28437,
    "c": 0.10838,
    "h": 275
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#1D205E
secondary
#938F44
accent
#D64CDC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1D205E

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

Preview Lab → · Contrast checker → · Palette generator →

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