#1D207B#1D207B

#1D207B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.149 H 272.4°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#1D207B
RGBrgb(29, 32, 123)
HSLhsl(238, 62%, 30%)
HSVhsv(238, 76%, 48%)
CMYKcmyk(76.4%, 74%, 0%, 51.8%)
CIE-LABlab(18.90, 31.74, -51.62)
CIE-LCHlch(18.90, 60.60, 301.58°)
OKLaboklab(31.42% 0.0062 -0.1494)
OKLCHoklch(31.42% 0.149 272.4)
XYZxyz(4.5972, 2.7238, 19.0185)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D207B #7B781D
analogous
#1D4F7B #1D207B #491D7B
triadic
#1D207B #7B1D20 #207B1D
tetradic
#1D207B #7B1D4F #7B781D #1D7B49
square
#1D207B #7B1D4F #7B781D #1D7B49
split-complementary
#1D207B #7B491D #4F7B1D
monochromatic
#060619 #111349 #1D207B #292DAD #4045D2

Accessibility & contrast

On white

13.59
#1D207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D207B
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D207B#FFFFFF#000000##FFFFFF
##1D207B1.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d207b;
/* rgb */ color: rgb(29, 32, 123);
/* oklch */ color: oklch(31.4% 0.149 272.4);
Tailwind
colors: {
  custom: {
    50: '#695ca2',
    500: '#1d207b',
    950: '#000000',
  },
}
SCSS
$custom: #1d207b;
$custom-light: #695ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d207b",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 238.085,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31415,
    "c": 0.14949,
    "h": 272.4
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#1D207B
secondary
#AFAB45
accent
#E043E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1D207B

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

Preview Lab → · Contrast checker → · Palette generator →

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