#182C7A#182C7A

#182C7A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.135 H 267.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#182C7A
RGBrgb(24, 44, 122)
HSLhsl(228, 67%, 29%)
HSVhsv(228, 80%, 48%)
CMYKcmyk(80.3%, 63.9%, 0%, 52.2%)
CIE-LABlab(21.58, 22.69, -46.60)
CIE-LCHlch(21.58, 51.83, 295.96°)
OKLaboklab(33.27% -0.0064 -0.1347)
OKLCHoklch(33.27% 0.135 267.3)
XYZxyz(4.7890, 3.4002, 18.8125)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C7A #7A6618
analogous
#185D7A #182C7A #35187A
triadic
#182C7A #7A182C #2C7A18
tetradic
#182C7A #7A185D #7A6618 #187A35
square
#182C7A #7A185D #7A6618 #187A35
split-complementary
#182C7A #7A3518 #5D7A18
monochromatic
#05091A #0E1A47 #182C7A #223EAD #3556D7

Accessibility & contrast

On white

12.50
#182C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#182C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C7A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C7A#FFFFFF#000000##FFFFFF
##182C7A1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#002F79
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182c7a;
/* rgb */ color: rgb(24, 44, 122);
/* oklch */ color: oklch(33.3% 0.135 267.3);
Tailwind
colors: {
  custom: {
    50: '#6664a1',
    500: '#182c7a',
    950: '#000000',
  },
}
SCSS
$custom: #182c7a;
$custom-light: #6664a1;
$custom-dark: #000000;
JSON
{
  "hex": "#182c7a",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 227.755,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33266,
    "c": 0.13488,
    "h": 267.3
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#182C7A
secondary
#AF983F
accent
#C73EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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