#181577#181577

#181577 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.157 H 272.1°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#181577
RGBrgb(24, 21, 119)
HSLhsl(242, 70%, 27%)
HSVhsv(242, 82%, 47%)
CMYKcmyk(79.8%, 82.4%, 0%, 53.3%)
CIE-LABlab(15.81, 36.42, -54.18)
CIE-LCHlch(15.81, 65.29, 303.91°)
OKLaboklab(29.01% 0.0058 -0.1568)
OKLCHoklch(29.01% 0.157 272.1)
XYZxyz(3.9735, 2.0620, 17.6378)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181577 #747715
analogous
#154377 #181577 #491577
triadic
#181577 #771815 #157718
tetradic
#181577 #771543 #747715 #157749
square
#181577 #771543 #747715 #157749
split-complementary
#181577 #774915 #437715
monochromatic
#05051A #0E0C43 #181577 #221EAB #322DDA

Accessibility & contrast

On white

14.87
#181577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#181577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181577
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181577#FFFFFF#000000##FFFFFF
##1815771.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002275
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181577;
/* rgb */ color: rgb(24, 21, 119);
/* oklch */ color: oklch(29.0% 0.157 272.1);
Tailwind
colors: {
  custom: {
    50: '#68559f',
    500: '#181577',
    950: '#000000',
  },
}
SCSS
$custom: #181577;
$custom-light: #68559f;
$custom-dark: #000000;
JSON
{
  "hex": "#181577",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 241.837,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29005,
    "c": 0.15692,
    "h": 272.1
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#181577
secondary
#A9AD3B
accent
#ED3BE7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #181577

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

Preview Lab → · Contrast checker → · Palette generator →

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