#1D18C9#1D18C9

#1D18C9 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.9% C 0.248 H 268.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#1D18C9
RGBrgb(29, 24, 201)
HSLhsl(242, 79%, 44%)
HSVhsv(242, 88%, 79%)
CMYKcmyk(85.6%, 88.1%, 0%, 21.2%)
CIE-LABlab(27.10, 60.60, -85.58)
CIE-LCHlch(27.10, 104.86, 305.30°)
OKLaboklab(39.85% -0.0077 -0.2476)
OKLCHoklch(39.85% 0.248 268.2)
XYZxyz(11.3723, 5.1301, 55.6378)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D18C9 #C4C918
analogous
#186CC9 #1D18C9 #7618C9
triadic
#1D18C9 #C91D18 #18C91D
tetradic
#1D18C9 #C9186C #C4C918 #18C976
square
#1D18C9 #C9186C #C4C918 #18C976
split-complementary
#1D18C9 #C97618 #6CC918
monochromatic
#0D0B5C #151192 #1D18C9 #3C37E7 #716EEE

Accessibility & contrast

On white

10.36
#1D18C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1D18C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D18C9
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D18C9#FFFFFF#000000##FFFFFF
##1D18C91.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049CE
Deuteranopia (green-blind)
#0036C6
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d18c9;
/* rgb */ color: rgb(29, 24, 201);
/* oklch */ color: oklch(39.9% 0.248 268.2);
Tailwind
colors: {
  custom: {
    50: '#7f5edb',
    500: '#1d18c9',
    950: '#000000',
  },
}
SCSS
$custom: #1d18c9;
$custom-light: #7f5edb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d18c9",
  "rgb": {
    "r": 29,
    "g": 24,
    "b": 201
  },
  "hsl": {
    "h": 241.695,
    "s": 78.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.39852,
    "c": 0.24769,
    "h": 268.2
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#1D18C9
secondary
#D1D469
accent
#F533F0
background
#F8F5FD
surface
#F0E9FB
border
#CBC5D4
text
#0D0515
muted
#7D7983

Preview Lab

Preview with #1D18C9

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

Preview Lab → · Contrast checker → · Palette generator →

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