#182C79#182C79

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

Color values

HEX#182C79
RGBrgb(24, 44, 121)
HSLhsl(228, 67%, 28%)
HSVhsv(228, 80%, 47%)
CMYKcmyk(80.2%, 63.6%, 0%, 52.5%)
CIE-LABlab(21.49, 22.29, -46.11)
CIE-LCHlch(21.49, 51.22, 295.80°)
OKLaboklab(33.17% -0.0064 -0.1333)
OKLCHoklch(33.17% 0.133 267.3)
XYZxyz(4.7274, 3.3755, 18.4878)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C79 #796518
analogous
#185C79 #182C79 #341879
triadic
#182C79 #79182C #2C7918
tetradic
#182C79 #79185C #796518 #187934
square
#182C79 #79185C #796518 #187934
split-complementary
#182C79 #793418 #5C7918
monochromatic
#05091A #0E1946 #182C79 #223FAC #3556D7

Accessibility & contrast

On white

12.54
#182C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182C79
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C79#FFFFFF#000000##FFFFFF
##182C791.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182c79;
/* rgb */ color: rgb(24, 44, 121);
/* oklch */ color: oklch(33.2% 0.133 267.3);
Tailwind
colors: {
  custom: {
    50: '#6664a0',
    500: '#182c79',
    950: '#000000',
  },
}
SCSS
$custom: #182c79;
$custom-light: #6664a0;
$custom-dark: #000000;
JSON
{
  "hex": "#182c79",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 227.629,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33171,
    "c": 0.13345,
    "h": 267.3
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#182C79
secondary
#AE973F
accent
#C63EEA
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182C79

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

Preview Lab → · Contrast checker → · Palette generator →

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