#181984#181984

#181984 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.170 H 270.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#181984
RGBrgb(24, 25, 132)
HSLhsl(239, 69%, 31%)
HSVhsv(239, 82%, 52%)
CMYKcmyk(81.8%, 81.1%, 0%, 48.2%)
CIE-LABlab(18.16, 38.67, -58.56)
CIE-LCHlch(18.16, 70.18, 303.44°)
OKLaboklab(31.12% 0.0017 -0.1696)
OKLCHoklch(31.12% 0.17 270.6)
XYZxyz(4.8878, 2.5548, 22.0609)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181984 #848318
analogous
#184F84 #181984 #4D1884
triadic
#181984 #841819 #198418
tetradic
#181984 #84184F #848318 #18844D
square
#181984 #84184F #848318 #18844D
split-complementary
#181984 #844D18 #4F8418
monochromatic
#05051C #0F0F50 #181984 #2123B8 #3B3DDB

Accessibility & contrast

On white

13.90
#181984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#181984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181984
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181984#FFFFFF#000000##FFFFFF
##1819841.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #181984;
/* rgb */ color: rgb(24, 25, 132);
/* oklch */ color: oklch(31.1% 0.170 270.6);
Tailwind
colors: {
  custom: {
    50: '#6b58a9',
    500: '#181984',
    950: '#000000',
  },
}
SCSS
$custom: #181984;
$custom-light: #6b58a9;
$custom-dark: #000000;
JSON
{
  "hex": "#181984",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 239.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31118,
    "c": 0.16959,
    "h": 270.6
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#181984
secondary
#B8B740
accent
#EA3CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #181984

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

Preview Lab → · Contrast checker → · Palette generator →

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