#182A77#182A77

#182A77 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.133 H 267.8°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#182A77
RGBrgb(24, 42, 119)
HSLhsl(229, 66%, 28%)
HSVhsv(229, 80%, 47%)
CMYKcmyk(79.8%, 64.7%, 0%, 53.3%)
CIE-LABlab(20.76, 22.89, -46.03)
CIE-LCHlch(20.76, 51.41, 296.44°)
OKLaboklab(32.57% -0.005 -0.1331)
OKLCHoklch(32.57% 0.133 267.8)
XYZxyz(4.5333, 3.1815, 17.8244)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A77 #776518
analogous
#185977 #182A77 #361877
triadic
#182A77 #77182A #2A7718
tetradic
#182A77 #771859 #776518 #187736
square
#182A77 #771859 #776518 #187736
split-complementary
#182A77 #773618 #597718
monochromatic
#050919 #0E1844 #182A77 #223CAA #3352D6

Accessibility & contrast

On white

12.83
#182A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#182A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A77
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A77#FFFFFF#000000##FFFFFF
##182A771.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182a77;
/* rgb */ color: rgb(24, 42, 119);
/* oklch */ color: oklch(32.6% 0.133 267.8);
Tailwind
colors: {
  custom: {
    50: '#66639f',
    500: '#182a77',
    950: '#000000',
  },
}
SCSS
$custom: #182a77;
$custom-light: #66639f;
$custom-dark: #000000;
JSON
{
  "hex": "#182a77",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 228.632,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32571,
    "c": 0.13319,
    "h": 267.8
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#182A77
secondary
#AC973F
accent
#C93EE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #182A77

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

Preview Lab → · Contrast checker → · Palette generator →

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