#1D207C#1D207C

#1D207C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.151 H 272.3°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#1D207C
RGBrgb(29, 32, 124)
HSLhsl(238, 62%, 30%)
HSVhsv(238, 77%, 49%)
CMYKcmyk(76.6%, 74.2%, 0%, 51.4%)
CIE-LABlab(19.01, 32.10, -52.08)
CIE-LCHlch(19.01, 61.18, 301.65°)
OKLaboklab(31.52% 0.0061 -0.1507)
OKLCHoklch(31.52% 0.151 272.3)
XYZxyz(4.6601, 2.7490, 19.3499)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D207C #7C791D
analogous
#1D507C #1D207C #491D7C
triadic
#1D207C #7C1D20 #207C1D
tetradic
#1D207C #7C1D50 #7C791D #1D7C49
square
#1D207C #7C1D50 #7C791D #1D7C49
split-complementary
#1D207C #7C491D #507C1D
monochromatic
#060619 #11134A #1D207C #292DAE #4145D3

Accessibility & contrast

On white

13.55
#1D207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D207C
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D207C#FFFFFF#000000##FFFFFF
##1D207C1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d207c;
/* rgb */ color: rgb(29, 32, 124);
/* oklch */ color: oklch(31.5% 0.151 272.3);
Tailwind
colors: {
  custom: {
    50: '#6a5ca3',
    500: '#1d207c',
    950: '#000000',
  },
}
SCSS
$custom: #1d207c;
$custom-light: #6a5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d207c",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 238.105,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.31524,
    "c": 0.15083,
    "h": 272.3
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D207C

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

Preview Lab → · Contrast checker → · Palette generator →

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