#183A8D#183A8D

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

Color values

HEX#183A8D
RGBrgb(24, 58, 141)
HSLhsl(223, 71%, 32%)
HSVhsv(223, 83%, 55%)
CMYKcmyk(83%, 58.9%, 0%, 44.7%)
CIE-LABlab(27.14, 20.56, -49.44)
CIE-LCHlch(27.14, 53.55, 292.58°)
OKLaboklab(37.93% -0.0152 -0.1428)
OKLCHoklch(37.93% 0.144 263.9)
XYZxyz(6.6957, 5.1426, 25.8339)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A8D #8D6B18
analogous
#18758D #183A8D #30188D
triadic
#183A8D #8D183A #3A8D18
tetradic
#183A8D #8D1875 #8D6B18 #188D30
square
#183A8D #8D1875 #8D6B18 #188D30
split-complementary
#183A8D #8D3018 #758D18
monochromatic
#060F24 #0F2459 #183A8D #2150C1 #416FDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##183A8D#FFFFFF#000000##FFFFFF
##183A8D1.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)
#004690
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183a8d;
/* rgb */ color: rgb(24, 58, 141);
/* oklch */ color: oklch(37.9% 0.144 263.9);
Tailwind
colors: {
  custom: {
    50: '#6a6faf',
    500: '#183a8d',
    950: '#000000',
  },
}
SCSS
$custom: #183a8d;
$custom-light: #6a6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#183a8d",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 222.564,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37932,
    "c": 0.14366,
    "h": 263.9
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#183A8D
secondary
#BF9B42
accent
#B93AEE
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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