#181576#181576

#181576 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.156 H 272.2°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#181576
RGBrgb(24, 21, 118)
HSLhsl(242, 70%, 27%)
HSVhsv(242, 82%, 46%)
CMYKcmyk(79.7%, 82.2%, 0%, 53.7%)
CIE-LABlab(15.69, 36.08, -53.74)
CIE-LCHlch(15.69, 64.73, 303.88°)
OKLaboklab(28.88% 0.0061 -0.1555)
OKLCHoklch(28.88% 0.156 272.2)
XYZxyz(3.9138, 2.0381, 17.3232)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181576 #737615
analogous
#154276 #181576 #491576
triadic
#181576 #761815 #157618
tetradic
#181576 #761542 #737615 #157649
square
#181576 #761542 #737615 #157649
split-complementary
#181576 #764915 #427615
monochromatic
#05051A #0D0C42 #181576 #231EAA #312CD9

Accessibility & contrast

On white

14.92
#181576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181576
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181576#FFFFFF#000000##FFFFFF
##1815761.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002274
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181576;
/* rgb */ color: rgb(24, 21, 118);
/* oklch */ color: oklch(28.9% 0.156 272.2);
Tailwind
colors: {
  custom: {
    50: '#68559f',
    500: '#181576',
    950: '#000000',
  },
}
SCSS
$custom: #181576;
$custom-light: #68559f;
$custom-dark: #000000;
JSON
{
  "hex": "#181576",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 241.856,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.28883,
    "c": 0.15566,
    "h": 272.2
  },
  "luminance": 0.02039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181576

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

Preview Lab → · Contrast checker → · Palette generator →

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