#181963#181963

#181963 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.126 H 273.6°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#181963
RGBrgb(24, 25, 99)
HSLhsl(239, 61%, 24%)
HSVhsv(239, 76%, 39%)
CMYKcmyk(75.8%, 74.7%, 0%, 61.2%)
CIE-LABlab(14.34, 26.79, -43.55)
CIE-LCHlch(14.34, 51.13, 301.60°)
OKLaboklab(27.28% 0.008 -0.1259)
OKLCHoklch(27.28% 0.126 273.6)
XYZxyz(2.9757, 1.7900, 11.9906)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181963 #636218
analogous
#183F63 #181963 #3D1863
triadic
#181963 #631819 #196318
tetradic
#181963 #63183F #636218 #18633D
square
#181963 #63183F #636218 #18633D
split-complementary
#181963 #633D18 #3F6318
monochromatic
#060619 #0C0D32 #181963 #242594 #3032C6

Accessibility & contrast

On white

15.46
#181963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#181963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181963
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181963#FFFFFF#000000##FFFFFF
##1819631.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181963;
/* rgb */ color: rgb(24, 25, 99);
/* oklch */ color: oklch(27.3% 0.126 273.6);
Tailwind
colors: {
  custom: {
    50: '#625690',
    500: '#181963',
    950: '#000000',
  },
}
SCSS
$custom: #181963;
$custom-light: #625690;
$custom-dark: #000000;
JSON
{
  "hex": "#181963",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 239.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2728,
    "c": 0.12617,
    "h": 273.6
  },
  "luminance": 0.0179
}

Semantic roles & 50–950 ramp

primary
#181963
secondary
#99983E
accent
#E244E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #181963

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

Preview Lab → · Contrast checker → · Palette generator →

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