#181564#181564

#181564 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.132 H 274.4°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#181564
RGBrgb(24, 21, 100)
HSLhsl(242, 65%, 24%)
HSVhsv(242, 79%, 39%)
CMYKcmyk(76%, 79%, 0%, 60.8%)
CIE-LABlab(13.53, 29.73, -45.55)
CIE-LCHlch(13.53, 54.39, 303.14°)
OKLaboklab(26.74% 0.0102 -0.1317)
OKLCHoklch(26.74% 0.132 274.4)
XYZxyz(2.9443, 1.6503, 12.2175)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181564 #616415
analogous
#153964 #181564 #3F1564
triadic
#181564 #641815 #156418
tetradic
#181564 #641539 #616415 #15643F
square
#181564 #641539 #616415 #15643F
split-complementary
#181564 #643F15 #396415
monochromatic
#060519 #0C0A31 #181564 #242097 #302AC9

Accessibility & contrast

On white

15.79
#181564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#181564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181564
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181564#FFFFFF#000000##FFFFFF
##1815641.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#001F63
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181564;
/* rgb */ color: rgb(24, 21, 100);
/* oklch */ color: oklch(26.7% 0.132 274.4);
Tailwind
colors: {
  custom: {
    50: '#635391',
    500: '#181564',
    950: '#000000',
  },
}
SCSS
$custom: #181564;
$custom-light: #635391;
$custom-dark: #000000;
JSON
{
  "hex": "#181564",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 242.278,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26735,
    "c": 0.13211,
    "h": 274.4
  },
  "luminance": 0.01651
}

Semantic roles & 50–950 ramp

primary
#181564
secondary
#979B3A
accent
#E840E2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181564

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

Preview Lab → · Contrast checker → · Palette generator →

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