#182E79#182E79

#182E79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.131 H 266.6°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#182E79
RGBrgb(24, 46, 121)
HSLhsl(226, 67%, 28%)
HSVhsv(226, 80%, 47%)
CMYKcmyk(80.2%, 62%, 0%, 52.5%)
CIE-LABlab(22.05, 20.87, -45.20)
CIE-LCHlch(22.05, 49.79, 294.79°)
OKLaboklab(33.59% -0.0078 -0.1306)
OKLCHoklch(33.59% 0.131 266.6)
XYZxyz(4.8037, 3.5281, 18.5133)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E79 #796318
analogous
#185E79 #182E79 #321879
triadic
#182E79 #79182E #2E7918
tetradic
#182E79 #79185E #796318 #187932
square
#182E79 #79185E #796318 #187932
split-complementary
#182E79 #793218 #5E7918
monochromatic
#050A1A #0E1B46 #182E79 #2241AC #3559D7

Accessibility & contrast

On white

12.31
#182E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#182E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E79
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E79#FFFFFF#000000##FFFFFF
##182E791.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182e79;
/* rgb */ color: rgb(24, 46, 121);
/* oklch */ color: oklch(33.6% 0.131 266.6);
Tailwind
colors: {
  custom: {
    50: '#6666a0',
    500: '#182e79',
    950: '#000000',
  },
}
SCSS
$custom: #182e79;
$custom-light: #6666a0;
$custom-dark: #000000;
JSON
{
  "hex": "#182e79",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 226.392,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.13084,
    "h": 266.6
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#182E79
secondary
#AE953F
accent
#C33EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #182E79

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

Preview Lab → · Contrast checker → · Palette generator →

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