#183C80#183C80

#183C80 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.3% C 0.122 H 261.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#183C80
RGBrgb(24, 60, 128)
HSLhsl(219, 68%, 30%)
HSVhsv(219, 81%, 50%)
CMYKcmyk(81.3%, 53.1%, 0%, 49.8%)
CIE-LABlab(26.69, 13.83, -42.08)
CIE-LCHlch(26.69, 44.30, 288.20°)
OKLaboklab(37.27% -0.0179 -0.1212)
OKLCHoklch(37.27% 0.122 261.6)
XYZxyz(5.8874, 4.9837, 21.0696)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C80 #805C18
analogous
#187080 #183C80 #281880
triadic
#183C80 #80183C #3C8018
tetradic
#183C80 #801870 #805C18 #188028
square
#183C80 #801870 #805C18 #188028
split-complementary
#183C80 #802818 #708018
monochromatic
#050C1A #0E244C #183C80 #2254B4 #3970DA

Accessibility & contrast

On white

10.52
#183C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#183C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C80
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C80#FFFFFF#000000##FFFFFF
##183C801.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4482
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183c80;
/* rgb */ color: rgb(24, 60, 128);
/* oklch */ color: oklch(37.3% 0.122 261.6);
Tailwind
colors: {
  custom: {
    50: '#6771a5',
    500: '#183c80',
    950: '#000000',
  },
}
SCSS
$custom: #183c80;
$custom-light: #6771a5;
$custom-dark: #000000;
JSON
{
  "hex": "#183c80",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 128
  },
  "hsl": {
    "h": 219.231,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37268,
    "c": 0.12249,
    "h": 261.6
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#183C80
secondary
#B48C40
accent
#AF3DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183C80

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

Preview Lab → · Contrast checker → · Palette generator →

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