#183A8B#183A8B

#183A8B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.141 H 263.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#183A8B
RGBrgb(24, 58, 139)
HSLhsl(222, 71%, 32%)
HSVhsv(222, 83%, 55%)
CMYKcmyk(82.7%, 58.3%, 0%, 45.5%)
CIE-LABlab(26.97, 19.75, -48.47)
CIE-LCHlch(26.97, 52.34, 292.17°)
OKLaboklab(37.76% -0.0154 -0.14)
OKLCHoklch(37.76% 0.141 263.7)
XYZxyz(6.5483, 5.0836, 25.0572)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A8B #8B6918
analogous
#18748B #183A8B #30188B
triadic
#183A8B #8B183A #3A8B18
tetradic
#183A8B #8B1874 #8B6918 #188B30
square
#183A8B #8B1874 #8B6918 #188B30
split-complementary
#183A8B #8B3018 #748B18
monochromatic
#060E23 #0F2457 #183A8B #2150BF #3F6EDE

Accessibility & contrast

On white

10.41
#183A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#183A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A8B
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A8B#FFFFFF#000000##FFFFFF
##183A8B1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183a8b;
/* rgb */ color: rgb(24, 58, 139);
/* oklch */ color: oklch(37.8% 0.141 263.7);
Tailwind
colors: {
  custom: {
    50: '#6a6fae',
    500: '#183a8b',
    950: '#000000',
  },
}
SCSS
$custom: #183a8b;
$custom-light: #6a6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#183a8b",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 222.261,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37756,
    "c": 0.14084,
    "h": 263.7
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#183A8B
secondary
#BE9940
accent
#B83AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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