#1D188A#1D188A

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

Color values

HEX#1D188A
RGBrgb(29, 24, 138)
HSLhsl(243, 70%, 32%)
HSVhsv(243, 83%, 54%)
CMYKcmyk(79%, 82.6%, 0%, 45.9%)
CIE-LABlab(19.01, 41.54, -60.93)
CIE-LCHlch(19.01, 73.74, 304.29°)
OKLaboklab(32% 0.0066 -0.1763)
OKLCHoklch(32% 0.176 272.1)
XYZxyz(5.4192, 2.7489, 24.2848)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D188A #858A18
analogous
#184C8A #1D188A #56188A
triadic
#1D188A #8A1D18 #188A1D
tetradic
#1D188A #8A184C #858A18 #188A56
square
#1D188A #8A184C #858A18 #188A56
split-complementary
#1D188A #8A5618 #4C8A18
monochromatic
#070622 #120F56 #1D188A #2821BE #463FDE

Accessibility & contrast

On white

13.55
#1D188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D188A
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D188A#FFFFFF#000000##FFFFFF
##1D188A1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002888
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d188a;
/* rgb */ color: rgb(29, 24, 138);
/* oklch */ color: oklch(32.0% 0.176 272.1);
Tailwind
colors: {
  custom: {
    50: '#6e58ad',
    500: '#1d188a',
    950: '#000000',
  },
}
SCSS
$custom: #1d188a;
$custom-light: #6e58ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d188a",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 242.632,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31998,
    "c": 0.17644,
    "h": 272.1
  },
  "luminance": 0.02749
}

Semantic roles & 50–950 ramp

primary
#1D188A
secondary
#B8BD40
accent
#ED3BE5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1D188A

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

Preview Lab → · Contrast checker → · Palette generator →

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