#181677#181677

#181677 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.156 H 272.0°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#181677
RGBrgb(24, 22, 119)
HSLhsl(241, 69%, 28%)
HSVhsv(241, 82%, 47%)
CMYKcmyk(79.8%, 81.5%, 0%, 53.3%)
CIE-LABlab(16.00, 35.87, -53.86)
CIE-LCHlch(16.00, 64.71, 303.66°)
OKLaboklab(29.14% 0.0055 -0.1559)
OKLCHoklch(29.14% 0.156 272)
XYZxyz(3.9923, 2.0995, 17.6440)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181677 #757716
analogous
#164577 #181677 #481677
triadic
#181677 #771816 #167718
tetradic
#181677 #771645 #757716 #167748
square
#181677 #771645 #757716 #167748
split-complementary
#181677 #774816 #457716
monochromatic
#05051A #0E0C43 #181677 #2220AB #322FD9

Accessibility & contrast

On white

14.79
#181677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#181677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181677
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181677#FFFFFF#000000##FFFFFF
##1816771.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002375
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #181677;
/* rgb */ color: rgb(24, 22, 119);
/* oklch */ color: oklch(29.1% 0.156 272.0);
Tailwind
colors: {
  custom: {
    50: '#68559f',
    500: '#181677',
    950: '#000000',
  },
}
SCSS
$custom: #181677;
$custom-light: #68559f;
$custom-dark: #000000;
JSON
{
  "hex": "#181677",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 241.237,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29139,
    "c": 0.15601,
    "h": 272
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#181677
secondary
#AAAC3C
accent
#EC3CE8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #181677

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

Preview Lab → · Contrast checker → · Palette generator →

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