#1D148E#1D148E

#1D148E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.184 H 272.1°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#1D148E
RGBrgb(29, 20, 142)
HSLhsl(244, 75%, 32%)
HSVhsv(244, 86%, 56%)
CMYKcmyk(79.6%, 85.9%, 0%, 44.3%)
CIE-LABlab(18.86, 44.74, -63.68)
CIE-LCHlch(18.86, 77.82, 305.09°)
OKLaboklab(32.04% 0.0067 -0.1842)
OKLCHoklch(32.04% 0.184 272.1)
XYZxyz(5.6377, 2.7139, 25.8127)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D148E #858E14
analogous
#14488E #1D148E #5A148E
triadic
#1D148E #8E1D14 #148E1D
tetradic
#1D148E #8E1448 #858E14 #148E5A
square
#1D148E #8E1448 #858E14 #148E5A
split-complementary
#1D148E #8E5A14 #488E14
monochromatic
#070523 #120C58 #1D148E #281CC4 #4639E3

Accessibility & contrast

On white

13.61
#1D148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D148E
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D148E#FFFFFF#000000##FFFFFF
##1D148E1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d148e;
/* rgb */ color: rgb(29, 20, 142);
/* oklch */ color: oklch(32.0% 0.184 272.1);
Tailwind
colors: {
  custom: {
    50: '#7056b0',
    500: '#1d148e',
    950: '#000000',
  },
}
SCSS
$custom: #1d148e;
$custom-light: #7056b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d148e",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 244.426,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3204,
    "c": 0.18433,
    "h": 272.1
  },
  "luminance": 0.02715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D148E

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

Preview Lab → · Contrast checker → · Palette generator →

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