#183687#183687

#183687 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.140 H 264.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#183687
RGBrgb(24, 54, 135)
HSLhsl(224, 70%, 31%)
HSVhsv(224, 82%, 53%)
CMYKcmyk(82.2%, 60%, 0%, 47.1%)
CIE-LABlab(25.51, 20.92, -48.37)
CIE-LCHlch(25.51, 52.70, 293.39°)
OKLaboklab(36.55% -0.0129 -0.1398)
OKLCHoklch(36.55% 0.14 264.7)
XYZxyz(6.0675, 4.5811, 23.4814)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183687 #876918
analogous
#186D87 #183687 #311887
triadic
#183687 #871836 #368718
tetradic
#183687 #87186D #876918 #188731
square
#183687 #87186D #876918 #188731
split-complementary
#183687 #873118 #6D8718
monochromatic
#060C1F #0F2153 #183687 #214BBB #3D68DC

Accessibility & contrast

On white

10.96
#183687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#183687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183687
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183687#FFFFFF#000000##FFFFFF
##1836871.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183687;
/* rgb */ color: rgb(24, 54, 135);
/* oklch */ color: oklch(36.5% 0.140 264.7);
Tailwind
colors: {
  custom: {
    50: '#696cab',
    500: '#183687',
    950: '#000000',
  },
}
SCSS
$custom: #183687;
$custom-light: #696cab;
$custom-dark: #000000;
JSON
{
  "hex": "#183687",
  "rgb": {
    "r": 24,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 223.784,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3655,
    "c": 0.14037,
    "h": 264.7
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#183687
secondary
#BB9A40
accent
#BD3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183687

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

Preview Lab → · Contrast checker → · Palette generator →

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