#183987#183987

#183987 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.136 H 263.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#183987
RGBrgb(24, 57, 135)
HSLhsl(222, 70%, 31%)
HSVhsv(222, 82%, 53%)
CMYKcmyk(82.2%, 57.8%, 0%, 47.1%)
CIE-LABlab(26.36, 18.82, -46.99)
CIE-LCHlch(26.36, 50.62, 291.83°)
OKLaboklab(37.19% -0.0149 -0.1357)
OKLCHoklch(37.19% 0.136 263.7)
XYZxyz(6.2114, 4.8690, 23.5294)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183987 #876618
analogous
#187087 #183987 #2E1887
triadic
#183987 #871839 #398718
tetradic
#183987 #871870 #876618 #18872E
square
#183987 #871870 #876618 #18872E
split-complementary
#183987 #872E18 #708718
monochromatic
#060D1F #0F2353 #183987 #214FBB #3D6CDC

Accessibility & contrast

On white

10.64
#183987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#183987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183987
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183987#FFFFFF#000000##FFFFFF
##1839871.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183987;
/* rgb */ color: rgb(24, 57, 135);
/* oklch */ color: oklch(37.2% 0.136 263.7);
Tailwind
colors: {
  custom: {
    50: '#696eab',
    500: '#183987',
    950: '#000000',
  },
}
SCSS
$custom: #183987;
$custom-light: #696eab;
$custom-dark: #000000;
JSON
{
  "hex": "#183987",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 222.162,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37191,
    "c": 0.13648,
    "h": 263.7
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#183987
secondary
#BB9640
accent
#B83BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183987

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

Preview Lab → · Contrast checker → · Palette generator →

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