#182B79#182B79

#182B79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.135 H 267.6°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#182B79
RGBrgb(24, 43, 121)
HSLhsl(228, 67%, 28%)
HSVhsv(228, 80%, 47%)
CMYKcmyk(80.2%, 64.5%, 0%, 52.5%)
CIE-LABlab(21.21, 22.99, -46.56)
CIE-LCHlch(21.21, 51.93, 296.28°)
OKLaboklab(32.97% -0.0057 -0.1346)
OKLCHoklch(32.97% 0.135 267.6)
XYZxyz(4.6906, 3.3019, 18.4756)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B79 #796618
analogous
#185B79 #182B79 #351879
triadic
#182B79 #79182B #2B7918
tetradic
#182B79 #79185B #796618 #187935
square
#182B79 #79185B #796618 #187935
split-complementary
#182B79 #793518 #5B7918
monochromatic
#05091A #0E1946 #182B79 #223DAC #3554D7

Accessibility & contrast

On white

12.65
#182B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B79
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B79#FFFFFF#000000##FFFFFF
##182B791.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182b79;
/* rgb */ color: rgb(24, 43, 121);
/* oklch */ color: oklch(33.0% 0.135 267.6);
Tailwind
colors: {
  custom: {
    50: '#6664a0',
    500: '#182b79',
    950: '#000000',
  },
}
SCSS
$custom: #182b79;
$custom-light: #6664a0;
$custom-dark: #000000;
JSON
{
  "hex": "#182b79",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 228.247,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32967,
    "c": 0.13475,
    "h": 267.6
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#182B79
secondary
#AE983F
accent
#C83EEA
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182B79

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

Preview Lab → · Contrast checker → · Palette generator →

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