#1D148D#1D148D

#1D148D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.183 H 272.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#1D148D
RGBrgb(29, 20, 141)
HSLhsl(244, 75%, 32%)
HSVhsv(244, 86%, 55%)
CMYKcmyk(79.4%, 85.8%, 0%, 44.7%)
CIE-LABlab(18.73, 44.43, -63.27)
CIE-LCHlch(18.73, 77.31, 305.08°)
OKLaboklab(31.92% 0.0069 -0.183)
OKLCHoklch(31.92% 0.183 272.2)
XYZxyz(5.5630, 2.6840, 25.4190)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D148D #848D14
analogous
#14488D #1D148D #5A148D
triadic
#1D148D #8D1D14 #148D1D
tetradic
#1D148D #8D1448 #848D14 #148D5A
square
#1D148D #8D1448 #848D14 #148D5A
split-complementary
#1D148D #8D5A14 #488D14
monochromatic
#070522 #120C57 #1D148D #281CC3 #4539E3

Accessibility & contrast

On white

13.66
#1D148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D148D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D148D#FFFFFF#000000##FFFFFF
##1D148D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d148d;
/* rgb */ color: rgb(29, 20, 141);
/* oklch */ color: oklch(31.9% 0.183 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f56b0',
    500: '#1d148d',
    950: '#000000',
  },
}
SCSS
$custom: #1d148d;
$custom-light: #6f56b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d148d",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 244.463,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31915,
    "c": 0.18315,
    "h": 272.2
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#1D148D
secondary
#B7C13C
accent
#F236E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1D148D

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

Preview Lab → · Contrast checker → · Palette generator →

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