#182E78#182E78

#182E78 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.129 H 266.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#182E78
RGBrgb(24, 46, 120)
HSLhsl(226, 67%, 28%)
HSVhsv(226, 80%, 47%)
CMYKcmyk(80%, 61.7%, 0%, 52.9%)
CIE-LABlab(21.96, 20.47, -44.71)
CIE-LCHlch(21.96, 49.17, 294.60°)
OKLaboklab(33.49% -0.0078 -0.1292)
OKLCHoklch(33.49% 0.129 266.5)
XYZxyz(4.7427, 3.5037, 18.1920)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E78 #786218
analogous
#185E78 #182E78 #321878
triadic
#182E78 #78182E #2E7818
tetradic
#182E78 #78185E #786218 #187832
square
#182E78 #78185E #786218 #187832
split-complementary
#182E78 #783218 #5E7818
monochromatic
#050A1A #0E1A45 #182E78 #2242AB #3459D6

Accessibility & contrast

On white

12.35
#182E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#182E78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E78
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E78#FFFFFF#000000##FFFFFF
##182E781.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182e78;
/* rgb */ color: rgb(24, 46, 120);
/* oklch */ color: oklch(33.5% 0.129 266.5);
Tailwind
colors: {
  custom: {
    50: '#6666a0',
    500: '#182e78',
    950: '#000000',
  },
}
SCSS
$custom: #182e78;
$custom-light: #6666a0;
$custom-dark: #000000;
JSON
{
  "hex": "#182e78",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 226.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33492,
    "c": 0.1294,
    "h": 266.5
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#182E78
secondary
#AD943F
accent
#C23EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #182E78

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

Preview Lab → · Contrast checker → · Palette generator →

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