#1D146C#1D146C

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

Color values

HEX#1D146C
RGBrgb(29, 20, 108)
HSLhsl(246, 69%, 25%)
HSVhsv(246, 81%, 42%)
CMYKcmyk(73.1%, 81.5%, 0%, 57.6%)
CIE-LABlab(14.65, 33.66, -48.96)
CIE-LCHlch(14.65, 59.41, 304.51°)
OKLaboklab(27.9% 0.016 -0.1415)
OKLCHoklch(27.9% 0.142 276.4)
XYZxyz(3.4627, 1.8439, 14.3579)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D146C #636C14
analogous
#14376C #1D146C #49146C
triadic
#1D146C #6C1D14 #146C1D
tetradic
#1D146C #6C1437 #636C14 #146C49
square
#1D146C #6C1437 #636C14 #146C49
split-complementary
#1D146C #6C4914 #376C14
monochromatic
#07051A #0F0A38 #1D146C #2B1EA0 #3927D3

Accessibility & contrast

On white

15.34
#1D146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#1D146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D146C
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D146C#FFFFFF#000000##FFFFFF
##1D146C1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1d146c;
/* rgb */ color: rgb(29, 20, 108);
/* oklch */ color: oklch(27.9% 0.142 276.4);
Tailwind
colors: {
  custom: {
    50: '#675497',
    500: '#1d146c',
    950: '#000000',
  },
}
SCSS
$custom: #1d146c;
$custom-light: #675497;
$custom-dark: #000000;
JSON
{
  "hex": "#1d146c",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 246.136,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27896,
    "c": 0.14242,
    "h": 276.4
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#1D146C
secondary
#98A339
accent
#EC3CDA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D146C

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

Preview Lab → · Contrast checker → · Palette generator →

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