#1D0F66#1D0F66

#1D0F66 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.139 H 278.4°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#1D0F66
RGBrgb(29, 15, 102)
HSLhsl(250, 74%, 23%)
HSVhsv(250, 85%, 40%)
CMYKcmyk(71.6%, 85.3%, 0%, 60%)
CIE-LABlab(13.00, 34.34, -47.74)
CIE-LCHlch(13.00, 58.81, 305.72°)
OKLaboklab(26.53% 0.0203 -0.1379)
OKLCHoklch(26.53% 0.139 278.4)
XYZxyz(3.0750, 1.5619, 12.7072)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F66 #58660F
analogous
#0F2C66 #1D0F66 #480F66
triadic
#1D0F66 #661D0F #0F661D
tetradic
#1D0F66 #660F2C #58660F #0F6648
square
#1D0F66 #660F2C #58660F #0F6648
split-complementary
#1D0F66 #66480F #2C660F
monochromatic
#08041B #0E0731 #1D0F66 #2C179B #3B1FD1

Accessibility & contrast

On white

16.00
#1D0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#1D0F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F66
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F66#FFFFFF#000000##FFFFFF
##1D0F661.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001E65
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d0f66;
/* rgb */ color: rgb(29, 15, 102);
/* oklch */ color: oklch(26.5% 0.139 278.4);
Tailwind
colors: {
  custom: {
    50: '#665093',
    500: '#1d0f66',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f66;
$custom-light: #665093;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f66",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 249.655,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26534,
    "c": 0.1394,
    "h": 278.4
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#1D0F66
secondary
#8D9F32
accent
#F137D3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #1D0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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