#183984#183984

#183984 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.9% C 0.132 H 263.4°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#183984
RGBrgb(24, 57, 132)
HSLhsl(222, 69%, 31%)
HSVhsv(222, 82%, 52%)
CMYKcmyk(81.8%, 56.8%, 0%, 48.2%)
CIE-LABlab(26.12, 17.59, -45.51)
CIE-LCHlch(26.12, 48.79, 291.13°)
OKLaboklab(36.93% -0.0152 -0.1313)
OKLCHoklch(36.93% 0.132 263.4)
XYZxyz(6.0032, 4.7857, 22.4327)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183984 #846318
analogous
#186F84 #183984 #2D1884
triadic
#183984 #841839 #398418
tetradic
#183984 #84186F #846318 #18842D
square
#183984 #84186F #846318 #18842D
split-complementary
#183984 #842D18 #6F8418
monochromatic
#050C1C #0F2350 #183984 #214FB8 #3B6CDB

Accessibility & contrast

On white

10.73
#183984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#183984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183984
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183984#FFFFFF#000000##FFFFFF
##1839841.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183984;
/* rgb */ color: rgb(24, 57, 132);
/* oklch */ color: oklch(36.9% 0.132 263.4);
Tailwind
colors: {
  custom: {
    50: '#686ea8',
    500: '#183984',
    950: '#000000',
  },
}
SCSS
$custom: #183984;
$custom-light: #686ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#183984",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 132
  },
  "hsl": {
    "h": 221.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36931,
    "c": 0.13219,
    "h": 263.4
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#183984
secondary
#B89340
accent
#B63CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183984

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

Preview Lab → · Contrast checker → · Palette generator →

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