#1D0F76#1D0F76

#1D0F76 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.5% C 0.159 H 275.4°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#1D0F76
RGBrgb(29, 15, 118)
HSLhsl(248, 77%, 26%)
HSVhsv(248, 87%, 46%)
CMYKcmyk(75.4%, 87.3%, 0%, 53.7%)
CIE-LABlab(15.01, 39.47, -54.85)
CIE-LCHlch(15.01, 67.58, 305.74°)
OKLaboklab(28.51% 0.0151 -0.1585)
OKLCHoklch(28.51% 0.159 275.4)
XYZxyz(3.9465, 1.9105, 17.2968)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F76 #68760F
analogous
#0F3476 #1D0F76 #500F76
triadic
#1D0F76 #761D0F #0F761D
tetradic
#1D0F76 #760F34 #68760F #0F7650
square
#1D0F76 #760F34 #68760F #0F7650
split-complementary
#1D0F76 #76500F #34760F
monochromatic
#07031B #100840 #1D0F76 #2A16AC #381DE2

Accessibility & contrast

On white

15.19
#1D0F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1D0F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F76
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F76#FFFFFF#000000##FFFFFF
##1D0F761.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002174
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d0f76;
/* rgb */ color: rgb(29, 15, 118);
/* oklch */ color: oklch(28.5% 0.159 275.4);
Tailwind
colors: {
  custom: {
    50: '#6a529f',
    500: '#1d0f76',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f76;
$custom-light: #6a529f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f76",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 248.155,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28508,
    "c": 0.15926,
    "h": 275.4
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#1D0F76
secondary
#9DAD33
accent
#F434DA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020F
muted
#7A787E

Preview Lab

Preview with #1D0F76

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

Preview Lab → · Contrast checker → · Palette generator →

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