#1D0F72#1D0F72

#1D0F72 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.154 H 276.1°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#1D0F72
RGBrgb(29, 15, 114)
HSLhsl(248, 77%, 25%)
HSVhsv(248, 87%, 45%)
CMYKcmyk(74.6%, 86.8%, 0%, 55.3%)
CIE-LABlab(14.50, 38.21, -53.11)
CIE-LCHlch(14.50, 65.43, 305.73°)
OKLaboklab(28.01% 0.0164 -0.1535)
OKLCHoklch(28.01% 0.154 276.1)
XYZxyz(3.7138, 1.8174, 16.0714)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F72 #64720F
analogous
#0F3272 #1D0F72 #4E0F72
triadic
#1D0F72 #721D0F #0F721D
tetradic
#1D0F72 #720F32 #64720F #0F724E
square
#1D0F72 #720F32 #64720F #0F724E
split-complementary
#1D0F72 #724E0F #32720F
monochromatic
#07041B #0F083C #1D0F72 #2B16A8 #391DDE

Accessibility & contrast

On white

15.40
#1D0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0F72
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F72#FFFFFF#000000##FFFFFF
##1D0F721.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d0f72;
/* rgb */ color: rgb(29, 15, 114);
/* oklch */ color: oklch(28.0% 0.154 276.1);
Tailwind
colors: {
  custom: {
    50: '#69519c',
    500: '#1d0f72',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f72;
$custom-light: #69519c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f72",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 248.485,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28009,
    "c": 0.15437,
    "h": 276.1
  },
  "luminance": 0.01818
}

Semantic roles & 50–950 ramp

primary
#1D0F72
secondary
#99AA33
accent
#F335D8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #1D0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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