#1817A0#1817A0

#1817A0 is a dark, highly saturated blue. Relative luminance 0.033; OKLCH L 34.4% C 0.204 H 268.9°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#1817A0
RGBrgb(24, 23, 160)
HSLhsl(240, 75%, 36%)
HSVhsv(240, 86%, 63%)
CMYKcmyk(85%, 85.6%, 0%, 37.3%)
CIE-LABlab(21.37, 48.75, -70.62)
CIE-LCHlch(21.37, 85.81, 304.62°)
OKLaboklab(34.36% -0.0039 -0.2044)
OKLCHoklch(34.36% 0.204 268.9)
XYZxyz(7.0261, 3.3442, 33.5261)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1817A0 #9FA017
analogous
#175AA0 #1817A0 #5C17A0
triadic
#1817A0 #A01817 #17A018
tetradic
#1817A0 #A0175A #9FA017 #17A05C
square
#1817A0 #A0175A #9FA017 #17A05C
split-complementary
#1817A0 #A05C17 #5AA017
monochromatic
#080835 #100F6A #1817A0 #201FD6 #4D4CE5

Accessibility & contrast

On white

12.58
#1817A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1817A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1817A0
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1817A0#FFFFFF#000000##FFFFFF
##1817A01.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA4
Deuteranopia (green-blind)
#002C9E
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1817a0;
/* rgb */ color: rgb(24, 23, 160);
/* oklch */ color: oklch(34.4% 0.204 268.9);
Tailwind
colors: {
  custom: {
    50: '#7359be',
    500: '#1817a0',
    950: '#000000',
  },
}
SCSS
$custom: #1817a0;
$custom-light: #7359be;
$custom-dark: #000000;
JSON
{
  "hex": "#1817a0",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 240.438,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34359,
    "c": 0.20445,
    "h": 268.9
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#1817A0
secondary
#C6C74C
accent
#F136F0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #1817A0

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

Preview Lab → · Contrast checker → · Palette generator →

#1817A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva