#183C8B#183C8B

#183C8B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.138 H 263.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#183C8B
RGBrgb(24, 60, 139)
HSLhsl(221, 71%, 32%)
HSVhsv(221, 83%, 55%)
CMYKcmyk(82.7%, 56.8%, 0%, 45.5%)
CIE-LABlab(27.54, 18.36, -47.54)
CIE-LCHlch(27.54, 50.96, 291.11°)
OKLaboklab(38.19% -0.0168 -0.1372)
OKLCHoklch(38.19% 0.138 263)
XYZxyz(6.6511, 5.2892, 25.0915)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C8B #8B6718
analogous
#18768B #183C8B #2D188B
triadic
#183C8B #8B183C #3C8B18
tetradic
#183C8B #8B1876 #8B6718 #188B2D
square
#183C8B #8B1876 #8B6718 #188B2D
split-complementary
#183C8B #8B2D18 #768B18
monochromatic
#060F23 #0F2557 #183C8B #2153BF #3F71DE

Accessibility & contrast

On white

10.20
#183C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#183C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C8B
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C8B#FFFFFF#000000##FFFFFF
##183C8B1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183c8b;
/* rgb */ color: rgb(24, 60, 139);
/* oklch */ color: oklch(38.2% 0.138 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a71ae',
    500: '#183c8b',
    950: '#000000',
  },
}
SCSS
$custom: #183c8b;
$custom-light: #6a71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#183c8b",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 221.217,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38187,
    "c": 0.13825,
    "h": 263
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#183C8B
secondary
#BE9740
accent
#B53AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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