#182181#182181

#182181 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.158 H 269.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#182181
RGBrgb(24, 33, 129)
HSLhsl(235, 69%, 30%)
HSVhsv(235, 81%, 51%)
CMYKcmyk(81.4%, 74.4%, 0%, 49.4%)
CIE-LABlab(19.50, 32.84, -54.46)
CIE-LCHlch(19.50, 63.59, 301.09°)
OKLaboklab(31.96% -0.0008 -0.1577)
OKLCHoklch(31.96% 0.158 269.7)
XYZxyz(4.8816, 2.8663, 21.0606)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182181 #817818
analogous
#185681 #182181 #431881
triadic
#182181 #811821 #218118
tetradic
#182181 #811856 #817818 #188143
square
#182181 #811856 #817818 #188143
split-complementary
#182181 #814318 #568118
monochromatic
#05071A #0E144D #182181 #222EB5 #3947DA

Accessibility & contrast

On white

13.35
#182181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#182181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182181
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182181#FFFFFF#000000##FFFFFF
##1821811.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182181;
/* rgb */ color: rgb(24, 33, 129);
/* oklch */ color: oklch(32.0% 0.158 269.7);
Tailwind
colors: {
  custom: {
    50: '#695da7',
    500: '#182181',
    950: '#000000',
  },
}
SCSS
$custom: #182181;
$custom-light: #695da7;
$custom-dark: #000000;
JSON
{
  "hex": "#182181",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 234.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.31962,
    "c": 0.15773,
    "h": 269.7
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#182181
secondary
#B5AB40
accent
#DC3CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #182181

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

Preview Lab → · Contrast checker → · Palette generator →

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