#183787#183787

#183787 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.139 H 264.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#183787
RGBrgb(24, 55, 135)
HSLhsl(223, 70%, 31%)
HSVhsv(223, 82%, 53%)
CMYKcmyk(82.2%, 59.3%, 0%, 47.1%)
CIE-LABlab(25.79, 20.22, -47.91)
CIE-LCHlch(25.79, 52.01, 292.88°)
OKLaboklab(36.76% -0.0135 -0.1384)
OKLCHoklch(36.76% 0.139 264.4)
XYZxyz(6.1145, 4.6751, 23.4971)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183787 #876818
analogous
#186E87 #183787 #301887
triadic
#183787 #871837 #378718
tetradic
#183787 #87186E #876818 #188730
square
#183787 #87186E #876818 #188730
split-complementary
#183787 #873018 #6E8718
monochromatic
#060D1F #0F2253 #183787 #214CBB #3D69DC

Accessibility & contrast

On white

10.85
#183787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183787
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183787#FFFFFF#000000##FFFFFF
##1837871.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183787;
/* rgb */ color: rgb(24, 55, 135);
/* oklch */ color: oklch(36.8% 0.139 264.4);
Tailwind
colors: {
  custom: {
    50: '#696dab',
    500: '#183787',
    950: '#000000',
  },
}
SCSS
$custom: #183787;
$custom-light: #696dab;
$custom-dark: #000000;
JSON
{
  "hex": "#183787",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 223.243,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36762,
    "c": 0.13908,
    "h": 264.4
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#183787
secondary
#BB9840
accent
#BB3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183787

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

Preview Lab → · Contrast checker → · Palette generator →

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