#181779#181779

#181779 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.158 H 271.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#181779
RGBrgb(24, 23, 121)
HSLhsl(241, 68%, 28%)
HSVhsv(241, 81%, 47%)
CMYKcmyk(80.2%, 81%, 0%, 52.5%)
CIE-LABlab(16.44, 36.00, -54.42)
CIE-LCHlch(16.44, 65.25, 303.48°)
OKLaboklab(29.52% 0.0047 -0.1575)
OKLCHoklch(29.52% 0.158 271.7)
XYZxyz(4.1331, 2.1870, 18.2898)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181779 #787917
analogous
#174779 #181779 #491779
triadic
#181779 #791817 #177918
tetradic
#181779 #791747 #787917 #177949
square
#181779 #791747 #787917 #177949
split-complementary
#181779 #794917 #477917
monochromatic
#05051A #0E0D46 #181779 #2221AC #3432D8

Accessibility & contrast

On white

14.61
#181779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#181779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181779
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181779#FFFFFF#000000##FFFFFF
##1817791.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #181779;
/* rgb */ color: rgb(24, 23, 121);
/* oklch */ color: oklch(29.5% 0.158 271.7);
Tailwind
colors: {
  custom: {
    50: '#6856a1',
    500: '#181779',
    950: '#000000',
  },
}
SCSS
$custom: #181779;
$custom-light: #6856a1;
$custom-dark: #000000;
JSON
{
  "hex": "#181779",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 240.612,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29518,
    "c": 0.15761,
    "h": 271.7
  },
  "luminance": 0.02187
}

Semantic roles & 50–950 ramp

primary
#181779
secondary
#ADAE3E
accent
#EB3DE9
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #181779

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

Preview Lab → · Contrast checker → · Palette generator →

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