#1D189E#1D189E

#1D189E is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.5% C 0.200 H 270.5°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1D189E
RGBrgb(29, 24, 158)
HSLhsl(242, 74%, 36%)
HSVhsv(242, 85%, 62%)
CMYKcmyk(81.6%, 84.8%, 0%, 38%)
CIE-LABlab(21.51, 47.91, -69.15)
CIE-LCHlch(21.51, 84.13, 304.72°)
OKLaboklab(34.45% 0.0018 -0.2001)
OKLCHoklch(34.45% 0.2 270.5)
XYZxyz(7.0028, 3.3823, 32.6249)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D189E #999E18
analogous
#18569E #1D189E #60189E
triadic
#1D189E #9E1D18 #189E1D
tetradic
#1D189E #9E1856 #999E18 #189E60
square
#1D189E #9E1856 #999E18 #189E60
split-complementary
#1D189E #9E6018 #569E18
monochromatic
#090834 #131069 #1D189E #2720D3 #524DE4

Accessibility & contrast

On white

12.53
#1D189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D189E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D189E#FFFFFF#000000##FFFFFF
##1D189E1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d189e;
/* rgb */ color: rgb(29, 24, 158);
/* oklch */ color: oklch(34.5% 0.200 270.5);
Tailwind
colors: {
  custom: {
    50: '#745abc',
    500: '#1d189e',
    950: '#000000',
  },
}
SCSS
$custom: #1d189e;
$custom-light: #745abc;
$custom-dark: #000000;
JSON
{
  "hex": "#1d189e",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 242.239,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34452,
    "c": 0.20013,
    "h": 270.5
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#1D189E
secondary
#C1C64C
accent
#F038E9
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D189E

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

Preview Lab → · Contrast checker → · Palette generator →

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