#1D0F8E#1D0F8E

#1D0F8E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.188 H 272.3°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1D0F8E
RGBrgb(29, 15, 142)
HSLhsl(247, 81%, 31%)
HSVhsv(247, 89%, 56%)
CMYKcmyk(79.6%, 89.4%, 0%, 44.3%)
CIE-LABlab(18.17, 46.81, -64.83)
CIE-LCHlch(18.17, 79.96, 305.83°)
OKLaboklab(31.57% 0.0077 -0.1874)
OKLCHoklch(31.57% 0.188 272.3)
XYZxyz(5.5584, 2.5552, 25.7862)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F8E #808E0F
analogous
#0F408E #1D0F8E #5C0F8E
triadic
#1D0F8E #8E1D0F #0F8E1D
tetradic
#1D0F8E #8E0F40 #808E0F #0F8E5C
square
#1D0F8E #8E0F40 #808E0F #0F8E5C
split-complementary
#1D0F8E #8E5C0F #408E0F
monochromatic
#06031F #120957 #1D0F8E #2815C5 #432EE9

Accessibility & contrast

On white

13.90
#1D0F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1D0F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F8E
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F8E#FFFFFF#000000##FFFFFF
##1D0F8E1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d0f8e;
/* rgb */ color: rgb(29, 15, 142);
/* oklch */ color: oklch(31.6% 0.188 272.3);
Tailwind
colors: {
  custom: {
    50: '#7054b1',
    500: '#1d0f8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f8e;
$custom-light: #7054b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f8e",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 142
  },
  "hsl": {
    "h": 246.614,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31566,
    "c": 0.18759,
    "h": 272.3
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#1D0F8E
secondary
#B3C336
accent
#F731E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1D0F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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