#182C78#182C78

#182C78 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.132 H 267.2°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#182C78
RGBrgb(24, 44, 120)
HSLhsl(228, 67%, 28%)
HSVhsv(228, 80%, 47%)
CMYKcmyk(80%, 63.3%, 0%, 52.9%)
CIE-LABlab(21.40, 21.88, -45.62)
CIE-LCHlch(21.40, 50.60, 295.63°)
OKLaboklab(33.07% -0.0064 -0.1319)
OKLCHoklch(33.07% 0.132 267.2)
XYZxyz(4.6664, 3.3511, 18.1666)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C78 #786418
analogous
#185C78 #182C78 #341878
triadic
#182C78 #78182C #2C7818
tetradic
#182C78 #78185C #786418 #187834
square
#182C78 #78185C #786418 #187834
split-complementary
#182C78 #783418 #5C7818
monochromatic
#05091A #0E1945 #182C78 #223FAB #3456D6

Accessibility & contrast

On white

12.57
#182C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C78
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C78#FFFFFF#000000##FFFFFF
##182C781.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182c78;
/* rgb */ color: rgb(24, 44, 120);
/* oklch */ color: oklch(33.1% 0.132 267.2);
Tailwind
colors: {
  custom: {
    50: '#6664a0',
    500: '#182c78',
    950: '#000000',
  },
}
SCSS
$custom: #182c78;
$custom-light: #6664a0;
$custom-dark: #000000;
JSON
{
  "hex": "#182c78",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 227.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33075,
    "c": 0.13202,
    "h": 267.2
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#182C78
secondary
#AD963F
accent
#C63EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #182C78

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

Preview Lab → · Contrast checker → · Palette generator →

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