#1D1263#1D1263

#1D1263 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.133 H 278.5°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#1D1263
RGBrgb(29, 18, 99)
HSLhsl(248, 69%, 23%)
HSVhsv(248, 82%, 39%)
CMYKcmyk(70.7%, 81.8%, 0%, 61.2%)
CIE-LABlab(13.20, 31.72, -45.43)
CIE-LCHlch(13.20, 55.40, 304.93°)
OKLaboklab(26.57% 0.0196 -0.1312)
OKLCHoklch(26.57% 0.133 278.5)
XYZxyz(2.9744, 1.5944, 11.9530)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1263 #586312
analogous
#122F63 #1D1263 #451263
triadic
#1D1263 #631D12 #12631D
tetradic
#1D1263 #63122F #586312 #126345
square
#1D1263 #63122F #586312 #126345
split-complementary
#1D1263 #634512 #2F6312
monochromatic
#08051A #0E092F #1D1263 #2C1B97 #3B25CB

Accessibility & contrast

On white

15.92
#1D1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1D1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1263
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1263#FFFFFF#000000##FFFFFF
##1D12631.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002565
Deuteranopia (green-blind)
#001F62
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d1263;
/* rgb */ color: rgb(29, 18, 99);
/* oklch */ color: oklch(26.6% 0.133 278.5);
Tailwind
colors: {
  custom: {
    50: '#655290',
    500: '#1d1263',
    950: '#000000',
  },
}
SCSS
$custom: #1d1263;
$custom-light: #655290;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1263",
  "rgb": {
    "r": 29,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 248.148,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26568,
    "c": 0.13265,
    "h": 278.5
  },
  "luminance": 0.01595
}

Semantic roles & 50–950 ramp

primary
#1D1263
secondary
#8D9B36
accent
#EC3CD4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D1263

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

Preview Lab → · Contrast checker → · Palette generator →

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