#1D188D#1D188D

#1D188D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.180 H 271.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#1D188D
RGBrgb(29, 24, 141)
HSLhsl(243, 71%, 32%)
HSVhsv(243, 83%, 55%)
CMYKcmyk(79.4%, 83%, 0%, 44.7%)
CIE-LABlab(19.38, 42.52, -62.19)
CIE-LCHlch(19.38, 75.34, 304.36°)
OKLaboklab(32.36% 0.0059 -0.18)
OKLCHoklch(32.36% 0.18 271.9)
XYZxyz(5.6394, 2.8369, 25.4445)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D188D #888D18
analogous
#184E8D #1D188D #57188D
triadic
#1D188D #8D1D18 #188D1D
tetradic
#1D188D #8D184E #888D18 #188D57
square
#1D188D #8D184E #888D18 #188D57
split-complementary
#1D188D #8D5718 #4E8D18
monochromatic
#070624 #120F59 #1D188D #2821C1 #4841DF

Accessibility & contrast

On white

13.40
#1D188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1D188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D188D
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D188D#FFFFFF#000000##FFFFFF
##1D188D1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#00298B
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d188d;
/* rgb */ color: rgb(29, 24, 141);
/* oklch */ color: oklch(32.4% 0.180 271.9);
Tailwind
colors: {
  custom: {
    50: '#6f58b0',
    500: '#1d188d',
    950: '#000000',
  },
}
SCSS
$custom: #1d188d;
$custom-light: #6f58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d188d",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 242.564,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.18008,
    "h": 271.9
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#1D188D
secondary
#BABF42
accent
#EE3AE6
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1D188D

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

Preview Lab → · Contrast checker → · Palette generator →

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