#162163#162163

#162163 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.117 H 269.9°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#162163
RGBrgb(22, 33, 99)
HSLhsl(231, 64%, 24%)
HSVhsv(231, 78%, 39%)
CMYKcmyk(77.8%, 66.7%, 0%, 61.2%)
CIE-LABlab(16.30, 20.98, -40.34)
CIE-LCHlch(16.30, 45.47, 297.47°)
OKLaboklab(28.67% -0.0001 -0.1166)
OKLCHoklch(28.67% 0.117 269.9)
XYZxyz(3.1261, 2.1588, 12.0539)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162163 #635816
analogous
#164763 #162163 #311663
triadic
#162163 #631621 #216316
tetradic
#162163 #631647 #635816 #166331
square
#162163 #631647 #635816 #166331
split-complementary
#162163 #633116 #476316
monochromatic
#060819 #0B1031 #162163 #213295 #2C42C7

Accessibility & contrast

On white

14.67
#162163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162163
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162163#FFFFFF#000000##FFFFFF
##1621631.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002562
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162163;
/* rgb */ color: rgb(22, 33, 99);
/* oklch */ color: oklch(28.7% 0.117 269.9);
Tailwind
colors: {
  custom: {
    50: '#605c90',
    500: '#162163',
    950: '#000000',
  },
}
SCSS
$custom: #162163;
$custom-light: #605c90;
$custom-dark: #000000;
JSON
{
  "hex": "#162163",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 231.429,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2867,
    "c": 0.11656,
    "h": 269.9
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#162163
secondary
#9A8C3B
accent
#CF41E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #162163

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

Preview Lab → · Contrast checker → · Palette generator →

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