#183C86#183C86

#183C86 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.131 H 262.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#183C86
RGBrgb(24, 60, 134)
HSLhsl(220, 70%, 31%)
HSVhsv(220, 82%, 53%)
CMYKcmyk(82.1%, 55.2%, 0%, 47.5%)
CIE-LABlab(27.15, 16.31, -45.08)
CIE-LCHlch(27.15, 47.94, 289.88°)
OKLaboklab(37.76% -0.0172 -0.13)
OKLCHoklch(37.76% 0.131 262.5)
XYZxyz(6.2941, 5.1464, 23.2113)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C86 #866218
analogous
#187386 #183C86 #2B1886
triadic
#183C86 #86183C #3C8618
tetradic
#183C86 #861873 #866218 #18862B
square
#183C86 #861873 #866218 #18862B
split-complementary
#183C86 #862B18 #738618
monochromatic
#050E1E #0F2552 #183C86 #2153BA #3C71DC

Accessibility & contrast

On white

10.35
#183C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#183C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C86
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C86#FFFFFF#000000##FFFFFF
##183C861.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183c86;
/* rgb */ color: rgb(24, 60, 134);
/* oklch */ color: oklch(37.8% 0.131 262.5);
Tailwind
colors: {
  custom: {
    50: '#6871aa',
    500: '#183c86',
    950: '#000000',
  },
}
SCSS
$custom: #183c86;
$custom-light: #6871aa;
$custom-dark: #000000;
JSON
{
  "hex": "#183c86",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 134
  },
  "hsl": {
    "h": 220.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.13114,
    "h": 262.5
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#183C86
secondary
#BA9240
accent
#B23BEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183C86

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

Preview Lab → · Contrast checker → · Palette generator →

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