#182779#182779

#182779 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.140 H 268.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#182779
RGBrgb(24, 39, 121)
HSLhsl(231, 67%, 28%)
HSVhsv(231, 80%, 47%)
CMYKcmyk(80.2%, 67.8%, 0%, 52.5%)
CIE-LABlab(20.14, 25.78, -48.31)
CIE-LCHlch(20.14, 54.76, 298.09°)
OKLaboklab(32.18% -0.0031 -0.1398)
OKLCHoklch(32.18% 0.14 268.7)
XYZxyz(4.5522, 3.0252, 18.4295)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182779 #796A18
analogous
#185779 #182779 #391879
triadic
#182779 #791827 #277918
tetradic
#182779 #791857 #796A18 #187939
square
#182779 #791857 #796A18 #187939
split-complementary
#182779 #793918 #577918
monochromatic
#05081A #0E1746 #182779 #2237AC #354ED7

Accessibility & contrast

On white

13.08
#182779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#182779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182779
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182779#FFFFFF#000000##FFFFFF
##1827791.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182779;
/* rgb */ color: rgb(24, 39, 121);
/* oklch */ color: oklch(32.2% 0.140 268.7);
Tailwind
colors: {
  custom: {
    50: '#6761a1',
    500: '#182779',
    950: '#000000',
  },
}
SCSS
$custom: #182779;
$custom-light: #6761a1;
$custom-dark: #000000;
JSON
{
  "hex": "#182779",
  "rgb": {
    "r": 24,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 230.722,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32179,
    "c": 0.13984,
    "h": 268.7
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#182779
secondary
#AE9D3F
accent
#CF3EEA
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182779

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

Preview Lab → · Contrast checker → · Palette generator →

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