#181563#181563

#181563 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.6% C 0.131 H 274.6°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#181563
RGBrgb(24, 21, 99)
HSLhsl(242, 65%, 24%)
HSVhsv(242, 79%, 39%)
CMYKcmyk(75.8%, 78.8%, 0%, 61.2%)
CIE-LABlab(13.42, 29.37, -45.07)
CIE-LCHlch(13.42, 53.80, 303.09°)
OKLaboklab(26.62% 0.0104 -0.1303)
OKLCHoklch(26.62% 0.131 274.6)
XYZxyz(2.8962, 1.6311, 11.9642)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181563 #606315
analogous
#153963 #181563 #3F1563
triadic
#181563 #631815 #156318
tetradic
#181563 #631539 #606315 #15633F
square
#181563 #631539 #606315 #15633F
split-complementary
#181563 #633F15 #396315
monochromatic
#060519 #0C0A31 #181563 #242095 #302AC8

Accessibility & contrast

On white

15.83
#181563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181563
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181563#FFFFFF#000000##FFFFFF
##1815631.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002665
Deuteranopia (green-blind)
#001F62
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181563;
/* rgb */ color: rgb(24, 21, 99);
/* oklch */ color: oklch(26.6% 0.131 274.6);
Tailwind
colors: {
  custom: {
    50: '#625390',
    500: '#181563',
    950: '#000000',
  },
}
SCSS
$custom: #181563;
$custom-light: #625390;
$custom-dark: #000000;
JSON
{
  "hex": "#181563",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 242.308,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26619,
    "c": 0.13077,
    "h": 274.6
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#181563
secondary
#969A3A
accent
#E840E2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181563

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

Preview Lab → · Contrast checker → · Palette generator →

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