#1D146B#1D146B

#1D146B is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.141 H 276.6°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#1D146B
RGBrgb(29, 20, 107)
HSLhsl(246, 69%, 25%)
HSVhsv(246, 81%, 42%)
CMYKcmyk(72.9%, 81.3%, 0%, 58%)
CIE-LABlab(14.53, 33.32, -48.50)
CIE-LCHlch(14.53, 58.84, 304.49°)
OKLaboklab(27.78% 0.0162 -0.1402)
OKLCHoklch(27.78% 0.141 276.6)
XYZxyz(3.4098, 1.8227, 14.0792)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D146B #626B14
analogous
#14366B #1D146B #49146B
triadic
#1D146B #6B1D14 #146B1D
tetradic
#1D146B #6B1436 #626B14 #146B49
square
#1D146B #6B1436 #626B14 #146B49
split-complementary
#1D146B #6B4914 #366B14
monochromatic
#07051A #0F0A37 #1D146B #2B1E9F #3927D2

Accessibility & contrast

On white

15.39
#1D146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D146B
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D146B#FFFFFF#000000##FFFFFF
##1D146B1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d146b;
/* rgb */ color: rgb(29, 20, 107);
/* oklch */ color: oklch(27.8% 0.141 276.6);
Tailwind
colors: {
  custom: {
    50: '#675496',
    500: '#1d146b',
    950: '#000000',
  },
}
SCSS
$custom: #1d146b;
$custom-light: #675496;
$custom-dark: #000000;
JSON
{
  "hex": "#1d146b",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 246.207,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27779,
    "c": 0.14112,
    "h": 276.6
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#1D146B
secondary
#97A239
accent
#EB3CD9
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #1D146B

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

Preview Lab → · Contrast checker → · Palette generator →

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