#1D147D#1D147D

#1D147D is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.164 H 274.0°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#1D147D
RGBrgb(29, 20, 125)
HSLhsl(245, 72%, 28%)
HSVhsv(245, 84%, 49%)
CMYKcmyk(76.8%, 84%, 0%, 51%)
CIE-LABlab(16.71, 39.33, -56.53)
CIE-LCHlch(16.71, 68.86, 304.83°)
OKLaboklab(29.94% 0.0113 -0.1635)
OKLCHoklch(29.94% 0.164 274)
XYZxyz(4.4573, 2.2417, 19.5959)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D147D #747D14
analogous
#143F7D #1D147D #51147D
triadic
#1D147D #7D1D14 #147D1D
tetradic
#1D147D #7D143F #747D14 #147D51
square
#1D147D #7D143F #747D14 #147D51
split-complementary
#1D147D #7D5114 #3F7D14
monochromatic
#06041A #110C48 #1D147D #291CB2 #3D2EDE

Accessibility & contrast

On white

14.50
#1D147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#1D147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D147D
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D147D#FFFFFF#000000##FFFFFF
##1D147D1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d147d;
/* rgb */ color: rgb(29, 20, 125);
/* oklch */ color: oklch(29.9% 0.164 274.0);
Tailwind
colors: {
  custom: {
    50: '#6b55a4',
    500: '#1d147d',
    950: '#000000',
  },
}
SCSS
$custom: #1d147d;
$custom-light: #6b55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d147d",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 245.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29936,
    "c": 0.16388,
    "h": 274
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#1D147D
secondary
#A8B23A
accent
#EF39DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1D147D

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

Preview Lab → · Contrast checker → · Palette generator →

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