#182579#182579

#182579 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.142 H 269.2°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#182579
RGBrgb(24, 37, 121)
HSLhsl(232, 67%, 28%)
HSVhsv(232, 80%, 47%)
CMYKcmyk(80.2%, 69.4%, 0%, 52.5%)
CIE-LABlab(19.63, 27.16, -49.16)
CIE-LCHlch(19.63, 56.16, 298.92°)
OKLaboklab(31.8% -0.0019 -0.1423)
OKLCHoklch(31.8% 0.142 269.2)
XYZxyz(4.4883, 2.8973, 18.4081)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182579 #796C18
analogous
#185579 #182579 #3B1879
triadic
#182579 #791825 #257918
tetradic
#182579 #791855 #796C18 #18793B
square
#182579 #791855 #796C18 #18793B
split-complementary
#182579 #793B18 #557918
monochromatic
#05081A #0E1546 #182579 #2235AC #354AD7

Accessibility & contrast

On white

13.29
#182579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#182579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182579
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182579#FFFFFF#000000##FFFFFF
##1825791.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182579;
/* rgb */ color: rgb(24, 37, 121);
/* oklch */ color: oklch(31.8% 0.142 269.2);
Tailwind
colors: {
  custom: {
    50: '#675fa1',
    500: '#182579',
    950: '#000000',
  },
}
SCSS
$custom: #182579;
$custom-light: #675fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#182579",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 231.959,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31801,
    "c": 0.1423,
    "h": 269.2
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#182579
secondary
#AE9F3F
accent
#D33EEA
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #182579

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

Preview Lab → · Contrast checker → · Palette generator →

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