#1D1968#1D1968

#1D1968 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.132 H 276.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#1D1968
RGBrgb(29, 25, 104)
HSLhsl(243, 61%, 25%)
HSVhsv(243, 76%, 41%)
CMYKcmyk(72.1%, 76%, 0%, 59.2%)
CIE-LABlab(15.25, 29.26, -45.34)
CIE-LCHlch(15.25, 53.96, 302.84°)
OKLaboklab(28.19% 0.0139 -0.131)
OKLCHoklch(28.19% 0.132 276)
XYZxyz(3.3522, 1.9556, 13.2948)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1968 #646819
analogous
#193C68 #1D1968 #441968
triadic
#1D1968 #681D19 #19681D
tetradic
#1D1968 #68193C #646819 #196844
square
#1D1968 #68193C #646819 #196844
split-complementary
#1D1968 #684419 #3C6819
monochromatic
#070619 #0F0D37 #1D1968 #2B2599 #3931CB

Accessibility & contrast

On white

15.09
#1D1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1D1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1968
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1968#FFFFFF#000000##FFFFFF
##1D19681.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d1968;
/* rgb */ color: rgb(29, 25, 104);
/* oklch */ color: oklch(28.2% 0.132 276.0);
Tailwind
colors: {
  custom: {
    50: '#655794',
    500: '#1d1968',
    950: '#000000',
  },
}
SCSS
$custom: #1d1968;
$custom-light: #655794;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1968",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 243.038,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2819,
    "c": 0.13173,
    "h": 276
  },
  "luminance": 0.01956
}

Semantic roles & 50–950 ramp

primary
#1D1968
secondary
#999E3F
accent
#E443DC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1D1968

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

Preview Lab → · Contrast checker → · Palette generator →

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