#182C84#182C84

#182C84 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.149 H 267.4°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#182C84
RGBrgb(24, 44, 132)
HSLhsl(229, 69%, 31%)
HSVhsv(229, 82%, 52%)
CMYKcmyk(81.8%, 66.7%, 0%, 48.2%)
CIE-LABlab(22.52, 26.68, -51.38)
CIE-LCHlch(22.52, 57.90, 297.44°)
OKLaboklab(34.25% -0.0066 -0.1487)
OKLCHoklch(34.25% 0.149 267.4)
XYZxyz(5.4408, 3.6609, 22.2452)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C84 #847018
analogous
#186284 #182C84 #3A1884
triadic
#182C84 #84182C #2C8418
tetradic
#182C84 #841862 #847018 #18843A
square
#182C84 #841862 #847018 #18843A
split-complementary
#182C84 #843A18 #628418
monochromatic
#05091C #0F1B50 #182C84 #213DB8 #3B59DB

Accessibility & contrast

On white

12.12
#182C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#182C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C84
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C84#FFFFFF#000000##FFFFFF
##182C841.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182c84;
/* rgb */ color: rgb(24, 44, 132);
/* oklch */ color: oklch(34.2% 0.149 267.4);
Tailwind
colors: {
  custom: {
    50: '#6965a9',
    500: '#182c84',
    950: '#000000',
  },
}
SCSS
$custom: #182c84;
$custom-light: #6965a9;
$custom-dark: #000000;
JSON
{
  "hex": "#182c84",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 228.889,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34247,
    "c": 0.14889,
    "h": 267.4
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#182C84
secondary
#B8A240
accent
#CB3CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #182C84

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

Preview Lab → · Contrast checker → · Palette generator →

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