#181573#181573

#181573 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.152 H 272.6°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#181573
RGBrgb(24, 21, 115)
HSLhsl(242, 69%, 27%)
HSVhsv(242, 82%, 45%)
CMYKcmyk(79.1%, 81.7%, 0%, 54.9%)
CIE-LABlab(15.32, 35.05, -52.41)
CIE-LCHlch(15.32, 63.05, 303.77°)
OKLaboklab(28.52% 0.0068 -0.1517)
OKLCHoklch(28.52% 0.152 272.6)
XYZxyz(3.7383, 1.9679, 16.3992)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181573 #707315
analogous
#154173 #181573 #471573
triadic
#181573 #731815 #157318
tetradic
#181573 #731541 #707315 #157347
square
#181573 #731541 #707315 #157347
split-complementary
#181573 #734715 #417315
monochromatic
#05051A #0D0C3F #181573 #231EA7 #302AD8

Accessibility & contrast

On white

15.07
#181573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#181573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181573
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181573#FFFFFF#000000##FFFFFF
##1815731.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181573;
/* rgb */ color: rgb(24, 21, 115);
/* oklch */ color: oklch(28.5% 0.152 272.6);
Tailwind
colors: {
  custom: {
    50: '#67549c',
    500: '#181573',
    950: '#000000',
  },
}
SCSS
$custom: #181573;
$custom-light: #67549c;
$custom-dark: #000000;
JSON
{
  "hex": "#181573",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 241.915,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28518,
    "c": 0.15184,
    "h": 272.6
  },
  "luminance": 0.01968
}

Semantic roles & 50–950 ramp

primary
#181573
secondary
#A5A93B
accent
#EC3CE6
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181573

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

Preview Lab → · Contrast checker → · Palette generator →

#181573 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva