#181973#181973

#181973 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.148 H 272.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#181973
RGBrgb(24, 25, 115)
HSLhsl(239, 65%, 27%)
HSVhsv(239, 79%, 45%)
CMYKcmyk(79.1%, 78.3%, 0%, 54.9%)
CIE-LABlab(16.14, 32.71, -51.06)
CIE-LCHlch(16.14, 60.63, 302.64°)
OKLaboklab(29.1% 0.0051 -0.1478)
OKLCHoklch(29.1% 0.148 272)
XYZxyz(3.8178, 2.1268, 16.4256)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181973 #737218
analogous
#184673 #181973 #451873
triadic
#181973 #731819 #197318
tetradic
#181973 #731846 #737218 #187345
square
#181973 #731846 #737218 #187345
split-complementary
#181973 #734518 #467318
monochromatic
#050619 #0D0E40 #181973 #2324A6 #3133D4

Accessibility & contrast

On white

14.73
#181973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#181973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181973
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181973#FFFFFF#000000##FFFFFF
##1819731.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #181973;
/* rgb */ color: rgb(24, 25, 115);
/* oklch */ color: oklch(29.1% 0.148 272.0);
Tailwind
colors: {
  custom: {
    50: '#66579c',
    500: '#181973',
    950: '#000000',
  },
}
SCSS
$custom: #181973;
$custom-light: #66579c;
$custom-dark: #000000;
JSON
{
  "hex": "#181973",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 239.341,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29097,
    "c": 0.14788,
    "h": 272
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#181973
secondary
#A8A73F
accent
#E73FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181973

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

Preview Lab → · Contrast checker → · Palette generator →

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