#182879#182879

#182879 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.139 H 268.4°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#182879
RGBrgb(24, 40, 121)
HSLhsl(230, 67%, 28%)
HSVhsv(230, 80%, 47%)
CMYKcmyk(80.2%, 66.9%, 0%, 52.5%)
CIE-LABlab(20.41, 25.09, -47.88)
CIE-LCHlch(20.41, 54.06, 297.66°)
OKLaboklab(32.37% -0.0038 -0.1385)
OKLCHoklch(32.37% 0.139 268.4)
XYZxyz(4.5855, 3.0917, 18.4405)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182879 #796918
analogous
#185879 #182879 #381879
triadic
#182879 #791828 #287918
tetradic
#182879 #791858 #796918 #187938
square
#182879 #791858 #796918 #187938
split-complementary
#182879 #793818 #587918
monochromatic
#05081A #0E1746 #182879 #2239AC #354FD7

Accessibility & contrast

On white

12.98
#182879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182879
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182879#FFFFFF#000000##FFFFFF
##1828791.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182879;
/* rgb */ color: rgb(24, 40, 121);
/* oklch */ color: oklch(32.4% 0.139 268.4);
Tailwind
colors: {
  custom: {
    50: '#6661a1',
    500: '#182879',
    950: '#000000',
  },
}
SCSS
$custom: #182879;
$custom-light: #6661a1;
$custom-dark: #000000;
JSON
{
  "hex": "#182879",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 230.103,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32372,
    "c": 0.13858,
    "h": 268.4
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#182879
secondary
#AE9C3F
accent
#CD3EEA
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182879

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

Preview Lab → · Contrast checker → · Palette generator →

#182879 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva