#181863#181863

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

Color values

HEX#181863
RGBrgb(24, 24, 99)
HSLhsl(240, 61%, 24%)
HSVhsv(240, 76%, 39%)
CMYKcmyk(75.8%, 75.8%, 0%, 61.2%)
CIE-LABlab(14.11, 27.45, -43.94)
CIE-LCHlch(14.11, 51.81, 302.00°)
OKLaboklab(27.11% 0.0086 -0.1271)
OKLCHoklch(27.11% 0.127 273.9)
XYZxyz(2.9547, 1.7480, 11.9836)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181863 #636318
analogous
#183E63 #181863 #3E1863
triadic
#181863 #631818 #186318
tetradic
#181863 #63183E #636318 #18633E
square
#181863 #63183E #636318 #18633E
split-complementary
#181863 #633E18 #3E6318
monochromatic
#060619 #0C0C32 #181863 #242494 #3030C6

Accessibility & contrast

On white

15.56
#181863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181863
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181863#FFFFFF#000000##FFFFFF
##1818631.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002062
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181863;
/* rgb */ color: rgb(24, 24, 99);
/* oklch */ color: oklch(27.1% 0.127 273.9);
Tailwind
colors: {
  custom: {
    50: '#625590',
    500: '#181863',
    950: '#000000',
  },
}
SCSS
$custom: #181863;
$custom-light: #625590;
$custom-dark: #000000;
JSON
{
  "hex": "#181863",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 240,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27109,
    "c": 0.12735,
    "h": 273.9
  },
  "luminance": 0.01748
}

Semantic roles & 50–950 ramp

primary
#181863
secondary
#99993E
accent
#E444E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #181863

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

Preview Lab → · Contrast checker → · Palette generator →

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