#183786#183786

#183786 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.138 H 264.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#183786
RGBrgb(24, 55, 134)
HSLhsl(223, 70%, 31%)
HSVhsv(223, 82%, 53%)
CMYKcmyk(82.1%, 59%, 0%, 47.5%)
CIE-LABlab(25.70, 19.81, -47.43)
CIE-LCHlch(25.70, 51.40, 292.67°)
OKLaboklab(36.67% -0.0136 -0.137)
OKLCHoklch(36.67% 0.138 264.3)
XYZxyz(6.0444, 4.6471, 23.1280)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183786 #866718
analogous
#186E86 #183786 #301886
triadic
#183786 #861837 #378618
tetradic
#183786 #86186E #866718 #188630
square
#183786 #86186E #866718 #188630
split-complementary
#183786 #863018 #6E8618
monochromatic
#050C1E #0F2252 #183786 #214CBA #3C69DC

Accessibility & contrast

On white

10.88
#183786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#183786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183786
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183786#FFFFFF#000000##FFFFFF
##1837861.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183786;
/* rgb */ color: rgb(24, 55, 134);
/* oklch */ color: oklch(36.7% 0.138 264.3);
Tailwind
colors: {
  custom: {
    50: '#696daa',
    500: '#183786',
    950: '#000000',
  },
}
SCSS
$custom: #183786;
$custom-light: #696daa;
$custom-dark: #000000;
JSON
{
  "hex": "#183786",
  "rgb": {
    "r": 24,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 223.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36673,
    "c": 0.13766,
    "h": 264.3
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#183786
secondary
#BA9740
accent
#BB3BEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183786

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

Preview Lab → · Contrast checker → · Palette generator →

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