#182A79#182A79

#182A79 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.136 H 267.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#182A79
RGBrgb(24, 42, 121)
HSLhsl(229, 67%, 28%)
HSVhsv(229, 80%, 47%)
CMYKcmyk(80.2%, 65.3%, 0%, 52.5%)
CIE-LABlab(20.94, 23.69, -47.01)
CIE-LCHlch(20.94, 52.64, 296.75°)
OKLaboklab(32.77% -0.005 -0.1359)
OKLCHoklch(32.77% 0.136 267.9)
XYZxyz(4.6546, 3.2301, 18.4636)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A79 #796718
analogous
#185A79 #182A79 #361879
triadic
#182A79 #79182A #2A7918
tetradic
#182A79 #79185A #796718 #187936
square
#182A79 #79185A #796718 #187936
split-complementary
#182A79 #793618 #5A7918
monochromatic
#05091A #0E1846 #182A79 #223CAC #3553D7

Accessibility & contrast

On white

12.76
#182A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A79
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A79#FFFFFF#000000##FFFFFF
##182A791.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182a79;
/* rgb */ color: rgb(24, 42, 121);
/* oklch */ color: oklch(32.8% 0.136 267.9);
Tailwind
colors: {
  custom: {
    50: '#6663a0',
    500: '#182a79',
    950: '#000000',
  },
}
SCSS
$custom: #182a79;
$custom-light: #6663a0;
$custom-dark: #000000;
JSON
{
  "hex": "#182a79",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 228.866,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32766,
    "c": 0.13603,
    "h": 267.9
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#182A79
secondary
#AE993F
accent
#CA3EEA
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182A79

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

Preview Lab → · Contrast checker → · Palette generator →

#182A79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva