#181776#181776

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

Color values

HEX#181776
RGBrgb(24, 23, 118)
HSLhsl(241, 67%, 28%)
HSVhsv(241, 81%, 46%)
CMYKcmyk(79.7%, 80.5%, 0%, 53.7%)
CIE-LABlab(16.08, 34.95, -53.09)
CIE-LCHlch(16.08, 63.57, 303.36°)
OKLaboklab(29.16% 0.0053 -0.1537)
OKLCHoklch(29.16% 0.154 272)
XYZxyz(3.9520, 2.1146, 17.3359)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181776 #757617
analogous
#174576 #181776 #481776
triadic
#181776 #761817 #177618
tetradic
#181776 #761745 #757617 #177648
square
#181776 #761745 #757617 #177648
split-complementary
#181776 #764817 #457617
monochromatic
#05051A #0E0D43 #181776 #2221A9 #3231D7

Accessibility & contrast

On white

14.76
#181776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181776
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181776#FFFFFF#000000##FFFFFF
##1817761.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181776;
/* rgb */ color: rgb(24, 23, 118);
/* oklch */ color: oklch(29.2% 0.154 272.0);
Tailwind
colors: {
  custom: {
    50: '#67569f',
    500: '#181776',
    950: '#000000',
  },
}
SCSS
$custom: #181776;
$custom-light: #67569f;
$custom-dark: #000000;
JSON
{
  "hex": "#181776",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 240.632,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29158,
    "c": 0.15378,
    "h": 272
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#181776
secondary
#AAAB3E
accent
#EA3EE8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #181776

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

Preview Lab → · Contrast checker → · Palette generator →

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