#1813A0#1813A0

#1813A0 is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.207 H 269.0°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1813A0
RGBrgb(24, 19, 160)
HSLhsl(242, 79%, 35%)
HSVhsv(242, 88%, 63%)
CMYKcmyk(85%, 88.1%, 0%, 37.3%)
CIE-LABlab(20.82, 50.42, -71.54)
CIE-LCHlch(20.82, 87.52, 305.17°)
OKLaboklab(33.98% -0.0035 -0.207)
OKLCHoklch(33.98% 0.207 269)
XYZxyz(6.9526, 3.1972, 33.5016)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1813A0 #9BA013
analogous
#1354A0 #1813A0 #5F13A0
triadic
#1813A0 #A01813 #13A018
tetradic
#1813A0 #A01354 #9BA013 #13A05F
square
#1813A0 #A01354 #9BA013 #13A05F
split-complementary
#1813A0 #A05F13 #54A013
monochromatic
#080633 #100D69 #1813A0 #2019D7 #4A45E9

Accessibility & contrast

On white

12.81
#1813A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1813A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1813A0
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1813A0#FFFFFF#000000##FFFFFF
##1813A01.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A4
Deuteranopia (green-blind)
#002A9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1813a0;
/* rgb */ color: rgb(24, 19, 160);
/* oklch */ color: oklch(34.0% 0.207 269.0);
Tailwind
colors: {
  custom: {
    50: '#7357be',
    500: '#1813a0',
    950: '#000000',
  },
}
SCSS
$custom: #1813a0;
$custom-light: #7357be;
$custom-dark: #000000;
JSON
{
  "hex": "#1813a0",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 160
  },
  "hsl": {
    "h": 242.128,
    "s": 78.771,
    "l": 35.098
  },
  "oklch": {
    "l": 0.33978,
    "c": 0.20702,
    "h": 269
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#1813A0
secondary
#C5C945
accent
#F533EE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #1813A0

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

Preview Lab → · Contrast checker → · Palette generator →

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