#183980#183980

#183980 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.6% C 0.126 H 262.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#183980
RGBrgb(24, 57, 128)
HSLhsl(221, 68%, 30%)
HSVhsv(221, 81%, 50%)
CMYKcmyk(81.3%, 55.5%, 0%, 49.8%)
CIE-LABlab(25.80, 15.94, -43.52)
CIE-LCHlch(25.80, 46.35, 290.12°)
OKLaboklab(36.59% -0.0155 -0.1255)
OKLCHoklch(36.59% 0.126 262.9)
XYZxyz(5.7347, 4.6783, 21.0186)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183980 #805F18
analogous
#186D80 #183980 #2B1880
triadic
#183980 #801839 #398018
tetradic
#183980 #80186D #805F18 #18802B
square
#183980 #80186D #805F18 #18802B
split-complementary
#183980 #802B18 #6D8018
monochromatic
#050B1A #0E224C #183980 #2250B4 #396CDA

Accessibility & contrast

On white

10.85
#183980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#183980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183980
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183980#FFFFFF#000000##FFFFFF
##1839801.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014282
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183980;
/* rgb */ color: rgb(24, 57, 128);
/* oklch */ color: oklch(36.6% 0.126 262.9);
Tailwind
colors: {
  custom: {
    50: '#676ea5',
    500: '#183980',
    950: '#000000',
  },
}
SCSS
$custom: #183980;
$custom-light: #676ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#183980",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 128
  },
  "hsl": {
    "h": 220.962,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3659,
    "c": 0.12643,
    "h": 262.9
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#183980
secondary
#B48F40
accent
#B43DEB
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183980

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

Preview Lab → · Contrast checker → · Palette generator →

#183980 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva