#183887#183887

#183887 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.138 H 264.1°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#183887
RGBrgb(24, 56, 135)
HSLhsl(223, 70%, 31%)
HSVhsv(223, 82%, 53%)
CMYKcmyk(82.2%, 58.5%, 0%, 47.1%)
CIE-LABlab(26.07, 19.52, -47.45)
CIE-LCHlch(26.07, 51.31, 292.36°)
OKLaboklab(36.98% -0.0142 -0.137)
OKLCHoklch(36.98% 0.138 264.1)
XYZxyz(6.1625, 4.7711, 23.5131)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183887 #876718
analogous
#186F87 #183887 #2F1887
triadic
#183887 #871838 #388718
tetradic
#183887 #87186F #876718 #18872F
square
#183887 #87186F #876718 #18872F
split-complementary
#183887 #872F18 #6F8718
monochromatic
#060D1F #0F2253 #183887 #214EBB #3D6BDC

Accessibility & contrast

On white

10.74
#183887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#183887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183887
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183887#FFFFFF#000000##FFFFFF
##1838871.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183887;
/* rgb */ color: rgb(24, 56, 135);
/* oklch */ color: oklch(37.0% 0.138 264.1);
Tailwind
colors: {
  custom: {
    50: '#696eab',
    500: '#183887',
    950: '#000000',
  },
}
SCSS
$custom: #183887;
$custom-light: #696eab;
$custom-dark: #000000;
JSON
{
  "hex": "#183887",
  "rgb": {
    "r": 24,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 222.703,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36975,
    "c": 0.13778,
    "h": 264.1
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#183887
secondary
#BB9740
accent
#B93BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183887

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

Preview Lab → · Contrast checker → · Palette generator →

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