#182F79#182F79

#182F79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.130 H 266.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#182F79
RGBrgb(24, 47, 121)
HSLhsl(226, 67%, 28%)
HSVhsv(226, 80%, 47%)
CMYKcmyk(80.2%, 61.2%, 0%, 52.5%)
CIE-LABlab(22.33, 20.16, -44.74)
CIE-LCHlch(22.33, 49.08, 294.26°)
OKLaboklab(33.79% -0.0085 -0.1292)
OKLCHoklch(33.79% 0.13 266.2)
XYZxyz(4.8432, 3.6071, 18.5264)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F79 #796218
analogous
#185F79 #182F79 #311879
triadic
#182F79 #79182F #2F7918
tetradic
#182F79 #79185F #796218 #187931
square
#182F79 #79185F #796218 #187931
split-complementary
#182F79 #793118 #5F7918
monochromatic
#050A1A #0E1B46 #182F79 #2243AC #355BD7

Accessibility & contrast

On white

12.20
#182F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#182F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F79
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F79#FFFFFF#000000##FFFFFF
##182F791.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182f79;
/* rgb */ color: rgb(24, 47, 121);
/* oklch */ color: oklch(33.8% 0.130 266.2);
Tailwind
colors: {
  custom: {
    50: '#6667a0',
    500: '#182f79',
    950: '#000000',
  },
}
SCSS
$custom: #182f79;
$custom-light: #6667a0;
$custom-dark: #000000;
JSON
{
  "hex": "#182f79",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 225.773,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33795,
    "c": 0.12952,
    "h": 266.2
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#182F79
secondary
#AE943F
accent
#C13EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #182F79

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

Preview Lab → · Contrast checker → · Palette generator →

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