#1D1E63#1D1E63

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

Color values

HEX#1D1E63
RGBrgb(29, 30, 99)
HSLhsl(239, 55%, 25%)
HSVhsv(239, 71%, 39%)
CMYKcmyk(70.7%, 69.7%, 0%, 61.2%)
CIE-LABlab(15.95, 24.09, -40.89)
CIE-LCHlch(15.95, 47.46, 300.51°)
OKLaboklab(28.54% 0.0109 -0.118)
OKLCHoklch(28.54% 0.119 275.3)
XYZxyz(3.2224, 2.0903, 12.0356)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1E63 #63621D
analogous
#1D4163 #1D1E63 #3F1D63
triadic
#1D1E63 #631D1E #1E631D
tetradic
#1D1E63 #631D41 #63621D #1D633F
square
#1D1E63 #631D41 #63621D #1D633F
split-complementary
#1D1E63 #633F1D #41631D
monochromatic
#070718 #0F1034 #1D1E63 #2B2C92 #393BC2

Accessibility & contrast

On white

14.81
#1D1E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1E63
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1E63#FFFFFF#000000##FFFFFF
##1D1E631.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1e63;
/* rgb */ color: rgb(29, 30, 99);
/* oklch */ color: oklch(28.5% 0.118 275.3);
Tailwind
colors: {
  custom: {
    50: '#635a90',
    500: '#1d1e63',
    950: '#000000',
  },
}
SCSS
$custom: #1d1e63;
$custom-light: #635a90;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1e63",
  "rgb": {
    "r": 29,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 239.143,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28539,
    "c": 0.1185,
    "h": 275.3
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#1D1E63
secondary
#989744
accent
#DC4ADE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1D1E63

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

Preview Lab → · Contrast checker → · Palette generator →

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