#183884#183884

#183884 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.7% C 0.134 H 263.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#183884
RGBrgb(24, 56, 132)
HSLhsl(222, 69%, 31%)
HSVhsv(222, 82%, 52%)
CMYKcmyk(81.8%, 57.6%, 0%, 48.2%)
CIE-LABlab(25.83, 18.29, -45.98)
CIE-LCHlch(25.83, 49.49, 291.69°)
OKLaboklab(36.71% -0.0144 -0.1327)
OKLCHoklch(36.71% 0.134 263.8)
XYZxyz(5.9542, 4.6878, 22.4163)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183884 #846418
analogous
#186E84 #183884 #2E1884
triadic
#183884 #841838 #388418
tetradic
#183884 #84186E #846418 #18842E
square
#183884 #84186E #846418 #18842E
split-complementary
#183884 #842E18 #6E8418
monochromatic
#050C1C #0F2250 #183884 #214EB8 #3B6BDB

Accessibility & contrast

On white

10.84
#183884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#183884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183884
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183884#FFFFFF#000000##FFFFFF
##1838841.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183884;
/* rgb */ color: rgb(24, 56, 132);
/* oklch */ color: oklch(36.7% 0.134 263.8);
Tailwind
colors: {
  custom: {
    50: '#686ea8',
    500: '#183884',
    950: '#000000',
  },
}
SCSS
$custom: #183884;
$custom-light: #686ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#183884",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 132
  },
  "hsl": {
    "h": 222.222,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36712,
    "c": 0.1335,
    "h": 263.8
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#183884
secondary
#B89440
accent
#B83CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183884

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

Preview Lab → · Contrast checker → · Palette generator →

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