#1D18A0#1D18A0

#1D18A0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 34.7% C 0.202 H 270.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#1D18A0
RGBrgb(29, 24, 160)
HSLhsl(242, 74%, 36%)
HSVhsv(242, 85%, 63%)
CMYKcmyk(81.9%, 85%, 0%, 37.3%)
CIE-LABlab(21.77, 48.53, -69.95)
CIE-LCHlch(21.77, 85.14, 304.75°)
OKLaboklab(34.7% 0.0013 -0.2024)
OKLCHoklch(34.7% 0.202 270.4)
XYZxyz(7.1763, 3.4517, 33.5389)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D18A0 #9BA018
analogous
#1857A0 #1D18A0 #6118A0
triadic
#1D18A0 #A01D18 #18A01D
tetradic
#1D18A0 #A01857 #9BA018 #18A061
square
#1D18A0 #A01857 #9BA018 #18A061
split-complementary
#1D18A0 #A06118 #57A018
monochromatic
#0A0836 #13106B #1D18A0 #2720D5 #534EE4

Accessibility & contrast

On white

12.42
#1D18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D18A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D18A0
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D18A0#FFFFFF#000000##FFFFFF
##1D18A01.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002D9E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d18a0;
/* rgb */ color: rgb(29, 24, 160);
/* oklch */ color: oklch(34.7% 0.202 270.4);
Tailwind
colors: {
  custom: {
    50: '#745abe',
    500: '#1d18a0',
    950: '#000000',
  },
}
SCSS
$custom: #1d18a0;
$custom-light: #745abe;
$custom-dark: #000000;
JSON
{
  "hex": "#1d18a0",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 242.206,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.347,
    "c": 0.20243,
    "h": 270.4
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#1D18A0
secondary
#C2C64D
accent
#F137EA
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1D18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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