#183D86#183D86

#183D86 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.0% C 0.130 H 262.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#183D86
RGBrgb(24, 61, 134)
HSLhsl(220, 70%, 31%)
HSVhsv(220, 82%, 53%)
CMYKcmyk(82.1%, 54.5%, 0%, 47.5%)
CIE-LABlab(27.44, 15.60, -44.61)
CIE-LCHlch(27.44, 47.26, 289.28°)
OKLaboklab(37.99% -0.018 -0.1286)
OKLCHoklch(37.99% 0.13 262)
XYZxyz(6.3470, 5.2522, 23.2289)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D86 #866118
analogous
#187486 #183D86 #2A1886
triadic
#183D86 #86183D #3D8618
tetradic
#183D86 #861874 #866118 #18862A
square
#183D86 #861874 #866118 #18862A
split-complementary
#183D86 #862A18 #748618
monochromatic
#050E1E #0F2552 #183D86 #2155BA #3C72DC

Accessibility & contrast

On white

10.24
#183D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#183D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D86
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D86#FFFFFF#000000##FFFFFF
##183D861.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064689
Deuteranopia (green-blind)
#003C85
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183d86;
/* rgb */ color: rgb(24, 61, 134);
/* oklch */ color: oklch(38.0% 0.130 262.0);
Tailwind
colors: {
  custom: {
    50: '#6871aa',
    500: '#183d86',
    950: '#000000',
  },
}
SCSS
$custom: #183d86;
$custom-light: #6871aa;
$custom-dark: #000000;
JSON
{
  "hex": "#183d86",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 134
  },
  "hsl": {
    "h": 219.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37986,
    "c": 0.12983,
    "h": 262
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#183D86
secondary
#BA9140
accent
#B13BEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183D86

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

Preview Lab → · Contrast checker → · Palette generator →

#183D86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva