#1D0F64#1D0F64

#1D0F64 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.3% C 0.137 H 278.8°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#1D0F64
RGBrgb(29, 15, 100)
HSLhsl(250, 74%, 23%)
HSVhsv(250, 85%, 39%)
CMYKcmyk(71%, 85%, 0%, 60.8%)
CIE-LABlab(12.75, 33.68, -46.82)
CIE-LCHlch(12.75, 57.68, 305.73°)
OKLaboklab(26.29% 0.021 -0.1352)
OKLCHoklch(26.29% 0.137 278.8)
XYZxyz(2.9770, 1.5227, 12.1911)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F64 #56640F
analogous
#0F2C64 #1D0F64 #470F64
triadic
#1D0F64 #641D0F #0F641D
tetradic
#1D0F64 #640F2C #56640F #0F6447
square
#1D0F64 #640F2C #56640F #0F6447
split-complementary
#1D0F64 #64470F #2C640F
monochromatic
#08041B #0E072F #1D0F64 #2C1799 #3C1FCE

Accessibility & contrast

On white

16.10
#1D0F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1D0F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F64
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F64#FFFFFF#000000##FFFFFF
##1D0F641.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002466
Deuteranopia (green-blind)
#001E63
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d0f64;
/* rgb */ color: rgb(29, 15, 100);
/* oklch */ color: oklch(26.3% 0.137 278.8);
Tailwind
colors: {
  custom: {
    50: '#655091',
    500: '#1d0f64',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f64;
$custom-light: #655091;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f64",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 100
  },
  "hsl": {
    "h": 249.882,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.26293,
    "c": 0.13685,
    "h": 278.8
  },
  "luminance": 0.01523
}

Semantic roles & 50–950 ramp

primary
#1D0F64
secondary
#8B9D32
accent
#F137D2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D0F64

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

Preview Lab → · Contrast checker → · Palette generator →

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