#183D8F#183D8F

#183D8F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.143 H 263.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#183D8F
RGBrgb(24, 61, 143)
HSLhsl(221, 71%, 33%)
HSVhsv(221, 83%, 56%)
CMYKcmyk(83.2%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.15, 19.29, -49.02)
CIE-LCHlch(28.15, 52.68, 291.48°)
OKLaboklab(38.75% -0.0171 -0.1416)
OKLCHoklch(38.75% 0.143 263.1)
XYZxyz(7.0016, 5.5140, 26.6766)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D8F #8F6A18
analogous
#18788F #183D8F #2F188F
triadic
#183D8F #8F183D #3D8F18
tetradic
#183D8F #8F1878 #8F6A18 #188F2F
square
#183D8F #8F1878 #8F6A18 #188F2F
split-complementary
#183D8F #8F2F18 #788F18
monochromatic
#061026 #0F275B #183D8F #2153C3 #4273DF

Accessibility & contrast

On white

9.99
#183D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#183D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D8F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D8F#FFFFFF#000000##FFFFFF
##183D8F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183d8f;
/* rgb */ color: rgb(24, 61, 143);
/* oklch */ color: oklch(38.7% 0.143 263.1);
Tailwind
colors: {
  custom: {
    50: '#6b71b0',
    500: '#183d8f',
    950: '#000000',
  },
}
SCSS
$custom: #183d8f;
$custom-light: #6b71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#183d8f",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 221.345,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38748,
    "c": 0.1426,
    "h": 263.1
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#183D8F
secondary
#C09943
accent
#B63AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080711
muted
#7A7A80

Preview Lab

Preview with #183D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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