#1D147A#1D147A

#1D147A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.160 H 274.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#1D147A
RGBrgb(29, 20, 122)
HSLhsl(245, 72%, 28%)
HSVhsv(245, 84%, 48%)
CMYKcmyk(76.2%, 83.6%, 0%, 52.2%)
CIE-LABlab(16.34, 38.34, -55.22)
CIE-LCHlch(16.34, 67.23, 304.77°)
OKLaboklab(29.57% 0.0121 -0.1597)
OKLCHoklch(29.57% 0.16 274.3)
XYZxyz(4.2685, 2.1662, 18.6017)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D147A #717A14
analogous
#143E7A #1D147A #50147A
triadic
#1D147A #7A1D14 #147A1D
tetradic
#1D147A #7A143E #717A14 #147A50
square
#1D147A #7A143E #717A14 #147A50
split-complementary
#1D147A #7A5014 #3E7A14
monochromatic
#06041A #110B45 #1D147A #291DAF #3C2CDC

Accessibility & contrast

On white

14.65
#1D147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D147A
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D147A#FFFFFF#000000##FFFFFF
##1D147A1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d147a;
/* rgb */ color: rgb(29, 20, 122);
/* oklch */ color: oklch(29.6% 0.160 274.3);
Tailwind
colors: {
  custom: {
    50: '#6a55a2',
    500: '#1d147a',
    950: '#000000',
  },
}
SCSS
$custom: #1d147a;
$custom-light: #6a55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d147a",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 245.294,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.2957,
    "c": 0.16017,
    "h": 274.3
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#1D147A
secondary
#A5B03A
accent
#EF39DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1D147A

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

Preview Lab → · Contrast checker → · Palette generator →

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