#181481#181481

#181481 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.170 H 271.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#181481
RGBrgb(24, 20, 129)
HSLhsl(242, 73%, 29%)
HSVhsv(242, 84%, 51%)
CMYKcmyk(81.4%, 84.5%, 0%, 49.4%)
CIE-LABlab(16.89, 40.29, -58.78)
CIE-LCHlch(16.89, 71.27, 304.43°)
OKLaboklab(30.12% 0.0037 -0.1701)
OKLCHoklch(30.12% 0.17 271.2)
XYZxyz(4.5880, 2.2790, 20.9627)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181481 #7D8114
analogous
#144781 #181481 #4F1481
triadic
#181481 #811814 #148118
tetradic
#181481 #811447 #7D8114 #14814F
square
#181481 #811447 #7D8114 #14814F
split-complementary
#181481 #814F14 #478114
monochromatic
#05041A #0E0C4C #181481 #221CB6 #3730DF

Accessibility & contrast

On white

14.43
#181481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#181481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181481
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181481#FFFFFF#000000##FFFFFF
##1814811.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00247F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #181481;
/* rgb */ color: rgb(24, 20, 129);
/* oklch */ color: oklch(30.1% 0.170 271.2);
Tailwind
colors: {
  custom: {
    50: '#6b55a7',
    500: '#181481',
    950: '#000000',
  },
}
SCSS
$custom: #181481;
$custom-light: #6b55a7;
$custom-dark: #000000;
JSON
{
  "hex": "#181481",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 242.202,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30119,
    "c": 0.17016,
    "h": 271.2
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#181481
secondary
#B2B63B
accent
#F038E9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #181481

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

Preview Lab → · Contrast checker → · Palette generator →

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