#182D79#182D79

#182D79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.132 H 266.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#182D79
RGBrgb(24, 45, 121)
HSLhsl(227, 67%, 28%)
HSVhsv(227, 80%, 47%)
CMYKcmyk(80.2%, 62.8%, 0%, 52.5%)
CIE-LABlab(21.77, 21.58, -45.66)
CIE-LCHlch(21.77, 50.50, 295.30°)
OKLaboklab(33.38% -0.0071 -0.132)
OKLCHoklch(33.38% 0.132 266.9)
XYZxyz(4.7651, 3.4509, 18.5004)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D79 #796418
analogous
#185D79 #182D79 #331879
triadic
#182D79 #79182D #2D7918
tetradic
#182D79 #79185D #796418 #187933
square
#182D79 #79185D #796418 #187933
split-complementary
#182D79 #793318 #5D7918
monochromatic
#05091A #0E1A46 #182D79 #2240AC #3558D7

Accessibility & contrast

On white

12.42
#182D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D79
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D79#FFFFFF#000000##FFFFFF
##182D791.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182d79;
/* rgb */ color: rgb(24, 45, 121);
/* oklch */ color: oklch(33.4% 0.132 266.9);
Tailwind
colors: {
  custom: {
    50: '#6665a0',
    500: '#182d79',
    950: '#000000',
  },
}
SCSS
$custom: #182d79;
$custom-light: #6665a0;
$custom-dark: #000000;
JSON
{
  "hex": "#182d79",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 227.01,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33377,
    "c": 0.13215,
    "h": 266.9
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#182D79
secondary
#AE963F
accent
#C53EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #182D79

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

Preview Lab → · Contrast checker → · Palette generator →

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