#183D8D#183D8D

#183D8D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.140 H 262.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#183D8D
RGBrgb(24, 61, 141)
HSLhsl(221, 71%, 32%)
HSVhsv(221, 83%, 55%)
CMYKcmyk(83%, 56.7%, 0%, 44.7%)
CIE-LABlab(27.99, 18.47, -48.05)
CIE-LCHlch(27.99, 51.48, 291.03°)
OKLaboklab(38.58% -0.0173 -0.1387)
OKLCHoklch(38.58% 0.14 262.9)
XYZxyz(6.8514, 5.4539, 25.8858)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D8D #8D6818
analogous
#18778D #183D8D #2E188D
triadic
#183D8D #8D183D #3D8D18
tetradic
#183D8D #8D1877 #8D6818 #188D2E
square
#183D8D #8D1877 #8D6818 #188D2E
split-complementary
#183D8D #8D2E18 #778D18
monochromatic
#061024 #0F2659 #183D8D #2154C1 #4173DF

Accessibility & contrast

On white

10.04
#183D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#183D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D8D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D8D#FFFFFF#000000##FFFFFF
##183D8D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183d8d;
/* rgb */ color: rgb(24, 61, 141);
/* oklch */ color: oklch(38.6% 0.140 262.9);
Tailwind
colors: {
  custom: {
    50: '#6a71af',
    500: '#183d8d',
    950: '#000000',
  },
}
SCSS
$custom: #183d8d;
$custom-light: #6a71af;
$custom-dark: #000000;
JSON
{
  "hex": "#183d8d",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 221.026,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38576,
    "c": 0.13978,
    "h": 262.9
  },
  "luminance": 0.05455
}

Semantic roles & 50–950 ramp

primary
#183D8D
secondary
#BF9742
accent
#B53AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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