#1D0F71#1D0F71

#1D0F71 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.153 H 276.3°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#1D0F71
RGBrgb(29, 15, 113)
HSLhsl(249, 77%, 25%)
HSVhsv(249, 87%, 44%)
CMYKcmyk(74.3%, 86.7%, 0%, 55.7%)
CIE-LABlab(14.37, 37.89, -52.67)
CIE-LCHlch(14.37, 64.89, 305.73°)
OKLaboklab(27.88% 0.0167 -0.1522)
OKLCHoklch(27.88% 0.153 276.3)
XYZxyz(3.6572, 1.7948, 15.7733)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F71 #63710F
analogous
#0F3271 #1D0F71 #4E0F71
triadic
#1D0F71 #711D0F #0F711D
tetradic
#1D0F71 #710F32 #63710F #0F714E
square
#1D0F71 #710F32 #63710F #0F714E
split-complementary
#1D0F71 #714E0F #32710F
monochromatic
#07041B #0F083B #1D0F71 #2B16A7 #391DDD

Accessibility & contrast

On white

15.45
#1D0F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1D0F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F71
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F71#FFFFFF#000000##FFFFFF
##1D0F711.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002874
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1d0f71;
/* rgb */ color: rgb(29, 15, 113);
/* oklch */ color: oklch(27.9% 0.153 276.3);
Tailwind
colors: {
  custom: {
    50: '#69519b',
    500: '#1d0f71',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f71;
$custom-light: #69519b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f71",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 113
  },
  "hsl": {
    "h": 248.571,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27884,
    "c": 0.15315,
    "h": 276.3
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#1D0F71
secondary
#98A933
accent
#F335D8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1D0F71

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

Preview Lab → · Contrast checker → · Palette generator →

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