#183A8A#183A8A

#183A8A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.139 H 263.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#183A8A
RGBrgb(24, 58, 138)
HSLhsl(222, 70%, 32%)
HSVhsv(222, 83%, 54%)
CMYKcmyk(82.6%, 58%, 0%, 45.9%)
CIE-LABlab(26.89, 19.34, -47.99)
CIE-LCHlch(26.89, 51.74, 291.96°)
OKLaboklab(37.67% -0.0154 -0.1386)
OKLCHoklch(37.67% 0.139 263.6)
XYZxyz(6.4756, 5.0545, 24.6742)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A8A #8A6818
analogous
#18738A #183A8A #2F188A
triadic
#183A8A #8A183A #3A8A18
tetradic
#183A8A #8A1873 #8A6818 #188A2F
square
#183A8A #8A1873 #8A6818 #188A2F
split-complementary
#183A8A #8A2F18 #738A18
monochromatic
#060E22 #0F2456 #183A8A #2150BE #3F6EDE

Accessibility & contrast

On white

10.44
#183A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#183A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A8A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A8A#FFFFFF#000000##FFFFFF
##183A8A1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183a8a;
/* rgb */ color: rgb(24, 58, 138);
/* oklch */ color: oklch(37.7% 0.139 263.6);
Tailwind
colors: {
  custom: {
    50: '#6a6fad',
    500: '#183a8a',
    950: '#000000',
  },
}
SCSS
$custom: #183a8a;
$custom-light: #6a6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#183a8a",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 222.105,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37668,
    "c": 0.13944,
    "h": 263.6
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#183A8A
secondary
#BD9840
accent
#B83BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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