#183E8D#183E8D

#183E8D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.139 H 262.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#183E8D
RGBrgb(24, 62, 141)
HSLhsl(221, 71%, 32%)
HSVhsv(221, 83%, 55%)
CMYKcmyk(83%, 56%, 0%, 44.7%)
CIE-LABlab(28.28, 17.78, -47.58)
CIE-LCHlch(28.28, 50.80, 290.49°)
OKLaboklab(38.79% -0.018 -0.1373)
OKLCHoklch(38.79% 0.139 262.5)
XYZxyz(6.9053, 5.5617, 25.9037)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E8D #8D6718
analogous
#18788D #183E8D #2D188D
triadic
#183E8D #8D183E #3E8D18
tetradic
#183E8D #8D1878 #8D6718 #188D2D
square
#183E8D #8D1878 #8D6718 #188D2D
split-complementary
#183E8D #8D2D18 #788D18
monochromatic
#061024 #0F2759 #183E8D #2155C1 #4174DF

Accessibility & contrast

On white

9.94
#183E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#183E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E8D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E8D#FFFFFF#000000##FFFFFF
##183E8D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#003E8B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #183e8d;
/* rgb */ color: rgb(24, 62, 141);
/* oklch */ color: oklch(38.8% 0.139 262.5);
Tailwind
colors: {
  custom: {
    50: '#6a72af',
    500: '#183e8d',
    950: '#000000',
  },
}
SCSS
$custom: #183e8d;
$custom-light: #6a72af;
$custom-dark: #000000;
JSON
{
  "hex": "#183e8d",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 220.513,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38793,
    "c": 0.1385,
    "h": 262.5
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#183E8D
secondary
#BF9642
accent
#B33AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #183E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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