#182A76#182A76

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

Color values

HEX#182A76
RGBrgb(24, 42, 118)
HSLhsl(229, 66%, 28%)
HSVhsv(229, 80%, 46%)
CMYKcmyk(79.7%, 64.4%, 0%, 53.7%)
CIE-LABlab(20.66, 22.49, -45.55)
CIE-LCHlch(20.66, 50.80, 296.28°)
OKLaboklab(32.47% -0.005 -0.1317)
OKLCHoklch(32.47% 0.132 267.8)
XYZxyz(4.4735, 3.1576, 17.5097)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A76 #766418
analogous
#185976 #182A76 #351876
triadic
#182A76 #76182A #2A7618
tetradic
#182A76 #761859 #766418 #187635
square
#182A76 #761859 #766418 #187635
split-complementary
#182A76 #763518 #597618
monochromatic
#050919 #0E1843 #182A76 #223CA9 #3352D5

Accessibility & contrast

On white

12.87
#182A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#182A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##182A76#FFFFFF#000000##FFFFFF
##182A761.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)
#003678
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #182a76;
/* rgb */ color: rgb(24, 42, 118);
/* oklch */ color: oklch(32.5% 0.132 267.8);
Tailwind
colors: {
  custom: {
    50: '#65639e',
    500: '#182a76',
    950: '#000000',
  },
}
SCSS
$custom: #182a76;
$custom-light: #65639e;
$custom-dark: #000000;
JSON
{
  "hex": "#182a76",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 228.511,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32474,
    "c": 0.13175,
    "h": 267.8
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#182A76
secondary
#AB963F
accent
#C83FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #182A76

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

Preview Lab → · Contrast checker → · Palette generator →

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