#181567#181567

#181567 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.136 H 274.0°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#181567
RGBrgb(24, 21, 103)
HSLhsl(242, 66%, 24%)
HSVhsv(242, 80%, 40%)
CMYKcmyk(76.7%, 79.6%, 0%, 59.6%)
CIE-LABlab(13.88, 30.81, -46.95)
CIE-LCHlch(13.88, 56.16, 303.28°)
OKLaboklab(27.09% 0.0095 -0.1358)
OKLCHoklch(27.09% 0.136 274)
XYZxyz(3.0922, 1.7095, 12.9963)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181567 #646715
analogous
#153B67 #181567 #411567
triadic
#181567 #671815 #156718
tetradic
#181567 #67153B #646715 #156741
square
#181567 #67153B #646715 #156741
split-complementary
#181567 #674115 #3B6715
monochromatic
#060519 #0C0B34 #181567 #241F9A #302ACD

Accessibility & contrast

On white

15.65
#181567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#181567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181567
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181567#FFFFFF#000000##FFFFFF
##1815671.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#001F66
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181567;
/* rgb */ color: rgb(24, 21, 103);
/* oklch */ color: oklch(27.1% 0.136 274.0);
Tailwind
colors: {
  custom: {
    50: '#635493',
    500: '#181567',
    950: '#000000',
  },
}
SCSS
$custom: #181567;
$custom-light: #635493;
$custom-dark: #000000;
JSON
{
  "hex": "#181567",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 242.195,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27086,
    "c": 0.13615,
    "h": 274
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#181567
secondary
#9A9E3A
accent
#E93FE3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181567

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

Preview Lab → · Contrast checker → · Palette generator →

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