#183986#183986

#183986 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.1% C 0.135 H 263.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#183986
RGBrgb(24, 57, 134)
HSLhsl(222, 70%, 31%)
HSVhsv(222, 82%, 53%)
CMYKcmyk(82.1%, 57.5%, 0%, 47.5%)
CIE-LABlab(26.28, 18.41, -46.50)
CIE-LCHlch(26.28, 50.01, 291.60°)
OKLaboklab(37.1% -0.015 -0.1342)
OKLCHoklch(37.1% 0.135 263.6)
XYZxyz(6.1414, 4.8410, 23.1604)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183986 #866518
analogous
#187086 #183986 #2E1886
triadic
#183986 #861839 #398618
tetradic
#183986 #861870 #866518 #18862E
square
#183986 #861870 #866518 #18862E
split-complementary
#183986 #862E18 #708618
monochromatic
#050D1E #0F2352 #183986 #214FBA #3C6CDC

Accessibility & contrast

On white

10.67
#183986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183986
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183986#FFFFFF#000000##FFFFFF
##1839861.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183986;
/* rgb */ color: rgb(24, 57, 134);
/* oklch */ color: oklch(37.1% 0.135 263.6);
Tailwind
colors: {
  custom: {
    50: '#696eaa',
    500: '#183986',
    950: '#000000',
  },
}
SCSS
$custom: #183986;
$custom-light: #696eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#183986",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 134
  },
  "hsl": {
    "h": 222,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37104,
    "c": 0.13506,
    "h": 263.6
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#183986
secondary
#BA9540
accent
#B73BEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183986

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

Preview Lab → · Contrast checker → · Palette generator →

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