#182479#182479

#182479 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.144 H 269.4°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#182479
RGBrgb(24, 36, 121)
HSLhsl(233, 67%, 28%)
HSVhsv(233, 80%, 47%)
CMYKcmyk(80.2%, 70.2%, 0%, 52.5%)
CIE-LABlab(19.37, 27.84, -49.58)
CIE-LCHlch(19.37, 56.86, 299.31°)
OKLaboklab(31.62% -0.0014 -0.1435)
OKLCHoklch(31.62% 0.144 269.4)
XYZxyz(4.4576, 2.8359, 18.3979)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182479 #796D18
analogous
#185479 #182479 #3C1879
triadic
#182479 #791824 #247918
tetradic
#182479 #791854 #796D18 #18793C
square
#182479 #791854 #796D18 #18793C
split-complementary
#182479 #793C18 #547918
monochromatic
#05081A #0E1546 #182479 #2233AC #3549D7

Accessibility & contrast

On white

13.40
#182479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#182479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182479
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182479#FFFFFF#000000##FFFFFF
##1824791.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182479;
/* rgb */ color: rgb(24, 36, 121);
/* oklch */ color: oklch(31.6% 0.144 269.4);
Tailwind
colors: {
  custom: {
    50: '#675fa1',
    500: '#182479',
    950: '#000000',
  },
}
SCSS
$custom: #182479;
$custom-light: #675fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#182479",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 232.577,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31617,
    "c": 0.14352,
    "h": 269.4
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#182479
secondary
#AEA03F
accent
#D53EEA
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #182479

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

Preview Lab → · Contrast checker → · Palette generator →

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