#161863#161863

#161863 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.128 H 272.7°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#161863
RGBrgb(22, 24, 99)
HSLhsl(238, 64%, 24%)
HSVhsv(238, 78%, 39%)
CMYKcmyk(77.8%, 75.8%, 0%, 61.2%)
CIE-LABlab(13.97, 27.22, -44.17)
CIE-LCHlch(13.97, 51.88, 301.65°)
OKLaboklab(26.98% 0.006 -0.1278)
OKLCHoklch(26.98% 0.128 272.7)
XYZxyz(2.9089, 1.7244, 11.9815)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161863 #636116
analogous
#163E63 #161863 #3A1663
triadic
#161863 #631618 #186316
tetradic
#161863 #63163E #636116 #16633A
square
#161863 #63163E #636116 #16633A
split-complementary
#161863 #633A16 #3E6316
monochromatic
#060619 #0B0C31 #161863 #212495 #2C30C7

Accessibility & contrast

On white

15.61
#161863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161863
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161863#FFFFFF#000000##FFFFFF
##1618631.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.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: #161863;
/* rgb */ color: rgb(22, 24, 99);
/* oklch */ color: oklch(27.0% 0.128 272.7);
Tailwind
colors: {
  custom: {
    50: '#615590',
    500: '#161863',
    950: '#000000',
  },
}
SCSS
$custom: #161863;
$custom-light: #615590;
$custom-dark: #000000;
JSON
{
  "hex": "#161863",
  "rgb": {
    "r": 22,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 238.442,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26975,
    "c": 0.12792,
    "h": 272.7
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#161863
secondary
#9A973B
accent
#E241E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #161863

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

Preview Lab → · Contrast checker → · Palette generator →

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