#181081#181081

#181081 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.7% C 0.173 H 271.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#181081
RGBrgb(24, 16, 129)
HSLhsl(244, 78%, 28%)
HSVhsv(244, 88%, 51%)
CMYKcmyk(81.4%, 87.6%, 0%, 49.4%)
CIE-LABlab(16.25, 42.18, -59.84)
CIE-LCHlch(16.25, 73.21, 305.18°)
OKLaboklab(29.68% 0.0046 -0.1731)
OKLCHoklch(29.68% 0.173 271.5)
XYZxyz(4.5231, 2.1492, 20.9411)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181081 #798110
analogous
#104081 #181081 #501081
triadic
#181081 #811810 #108118
tetradic
#181081 #811040 #798110 #108150
square
#181081 #811040 #798110 #108150
split-complementary
#181081 #815010 #408110
monochromatic
#05031B #0E094B #181081 #2217B7 #3527E4

Accessibility & contrast

On white

14.69
#181081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181081
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181081#FFFFFF#000000##FFFFFF
##1810811.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00237F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #181081;
/* rgb */ color: rgb(24, 16, 129);
/* oklch */ color: oklch(29.7% 0.173 271.5);
Tailwind
colors: {
  custom: {
    50: '#6b53a7',
    500: '#181081',
    950: '#000000',
  },
}
SCSS
$custom: #181081;
$custom-light: #6b53a7;
$custom-dark: #000000;
JSON
{
  "hex": "#181081",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 244.248,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29681,
    "c": 0.17316,
    "h": 271.5
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#181081
secondary
#AEB736
accent
#F433E7
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #181081

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

Preview Lab → · Contrast checker → · Palette generator →

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