#1D148F#1D148F

#1D148F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.2% C 0.185 H 272.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1D148F
RGBrgb(29, 20, 143)
HSLhsl(244, 75%, 32%)
HSVhsv(244, 86%, 56%)
CMYKcmyk(79.7%, 86%, 0%, 43.9%)
CIE-LABlab(18.99, 45.05, -64.09)
CIE-LCHlch(18.99, 78.34, 305.10°)
OKLaboklab(32.17% 0.0064 -0.1854)
OKLCHoklch(32.17% 0.186 272)
XYZxyz(5.7131, 2.7441, 26.2098)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D148F #868F14
analogous
#14498F #1D148F #5B148F
triadic
#1D148F #8F1D14 #148F1D
tetradic
#1D148F #8F1449 #868F14 #148F5B
square
#1D148F #8F1449 #868F14 #148F5B
split-complementary
#1D148F #8F5B14 #498F14
monochromatic
#070524 #120C59 #1D148F #281CC5 #463AE3

Accessibility & contrast

On white

13.56
#1D148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1D148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D148F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D148F#FFFFFF#000000##FFFFFF
##1D148F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00288D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d148f;
/* rgb */ color: rgb(29, 20, 143);
/* oklch */ color: oklch(32.2% 0.185 272.0);
Tailwind
colors: {
  custom: {
    50: '#7056b1',
    500: '#1d148f',
    950: '#000000',
  },
}
SCSS
$custom: #1d148f;
$custom-light: #7056b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d148f",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 244.39,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32165,
    "c": 0.1855,
    "h": 272
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D148F

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

Preview Lab → · Contrast checker → · Palette generator →

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