#181568#181568

#181568 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.137 H 273.9°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#181568
RGBrgb(24, 21, 104)
HSLhsl(242, 66%, 25%)
HSVhsv(242, 80%, 41%)
CMYKcmyk(76.9%, 79.8%, 0%, 59.2%)
CIE-LABlab(14.00, 31.17, -47.42)
CIE-LCHlch(14.00, 56.75, 303.32°)
OKLaboklab(27.2% 0.0093 -0.1372)
OKLCHoklch(27.2% 0.137 273.9)
XYZxyz(3.1427, 1.7297, 13.2623)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181568 #656815
analogous
#153C68 #181568 #421568
triadic
#181568 #681815 #156818
tetradic
#181568 #68153C #656815 #156842
square
#181568 #68153C #656815 #156842
split-complementary
#181568 #684215 #3C6815
monochromatic
#060519 #0C0B35 #181568 #241F9B #302ACE

Accessibility & contrast

On white

15.60
#181568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#181568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181568
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181568#FFFFFF#000000##FFFFFF
##1815681.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002067
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181568;
/* rgb */ color: rgb(24, 21, 104);
/* oklch */ color: oklch(27.2% 0.137 273.9);
Tailwind
colors: {
  custom: {
    50: '#645494',
    500: '#181568',
    950: '#000000',
  },
}
SCSS
$custom: #181568;
$custom-light: #645494;
$custom-dark: #000000;
JSON
{
  "hex": "#181568",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 242.169,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27203,
    "c": 0.13749,
    "h": 273.9
  },
  "luminance": 0.0173
}

Semantic roles & 50–950 ramp

primary
#181568
secondary
#9B9F3A
accent
#E93EE3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181568

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

Preview Lab → · Contrast checker → · Palette generator →

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