#183D84#183D84

#183D84 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.8% C 0.127 H 261.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#183D84
RGBrgb(24, 61, 132)
HSLhsl(219, 69%, 31%)
HSVhsv(219, 82%, 52%)
CMYKcmyk(81.8%, 53.8%, 0%, 48.2%)
CIE-LABlab(27.29, 14.78, -43.61)
CIE-LCHlch(27.29, 46.05, 288.72°)
OKLaboklab(37.82% -0.0182 -0.1256)
OKLCHoklch(37.82% 0.127 261.8)
XYZxyz(6.2088, 5.1969, 22.5012)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D84 #845F18
analogous
#187384 #183D84 #291884
triadic
#183D84 #84183D #3D8418
tetradic
#183D84 #841873 #845F18 #188429
square
#183D84 #841873 #845F18 #188429
split-complementary
#183D84 #842918 #738418
monochromatic
#050D1C #0F2550 #183D84 #2155B8 #3B72DB

Accessibility & contrast

On white

10.30
#183D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#183D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D84
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D84#FFFFFF#000000##FFFFFF
##183D841.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4687
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004E5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183d84;
/* rgb */ color: rgb(24, 61, 132);
/* oklch */ color: oklch(37.8% 0.127 261.8);
Tailwind
colors: {
  custom: {
    50: '#6871a8',
    500: '#183d84',
    950: '#000000',
  },
}
SCSS
$custom: #183d84;
$custom-light: #6871a8;
$custom-dark: #000000;
JSON
{
  "hex": "#183d84",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 132
  },
  "hsl": {
    "h": 219.444,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37821,
    "c": 0.12695,
    "h": 261.8
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#183D84
secondary
#B88F40
accent
#B03CEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183D84

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

Preview Lab → · Contrast checker → · Palette generator →

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