#182979#182979

#182979 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.137 H 268.2°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#182979
RGBrgb(24, 41, 121)
HSLhsl(229, 67%, 28%)
HSVhsv(229, 80%, 47%)
CMYKcmyk(80.2%, 66.1%, 0%, 52.5%)
CIE-LABlab(20.67, 24.39, -47.45)
CIE-LCHlch(20.67, 53.35, 297.21°)
OKLaboklab(32.57% -0.0044 -0.1372)
OKLCHoklch(32.57% 0.137 268.2)
XYZxyz(4.6196, 3.1600, 18.4519)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182979 #796818
analogous
#185979 #182979 #371879
triadic
#182979 #791829 #297918
tetradic
#182979 #791859 #796818 #187937
square
#182979 #791859 #796818 #187937
split-complementary
#182979 #793718 #597918
monochromatic
#05091A #0E1846 #182979 #223AAC #3551D7

Accessibility & contrast

On white

12.87
#182979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#182979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182979
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182979#FFFFFF#000000##FFFFFF
##1829791.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182979;
/* rgb */ color: rgb(24, 41, 121);
/* oklch */ color: oklch(32.6% 0.137 268.2);
Tailwind
colors: {
  custom: {
    50: '#6662a1',
    500: '#182979',
    950: '#000000',
  },
}
SCSS
$custom: #182979;
$custom-light: #6662a1;
$custom-dark: #000000;
JSON
{
  "hex": "#182979",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 229.485,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32568,
    "c": 0.13731,
    "h": 268.2
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#182979
secondary
#AE9A3F
accent
#CC3EEA
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182979

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

Preview Lab → · Contrast checker → · Palette generator →

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