#162664#162664

#162664 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.111 H 267.9°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#162664
RGBrgb(22, 38, 100)
HSLhsl(228, 64%, 24%)
HSVhsv(228, 78%, 39%)
CMYKcmyk(78%, 62%, 0%, 60.8%)
CIE-LABlab(17.81, 17.76, -38.53)
CIE-LCHlch(17.81, 42.43, 294.74°)
OKLaboklab(29.82% -0.0041 -0.1112)
OKLCHoklch(29.82% 0.111 267.9)
XYZxyz(3.3234, 2.4765, 12.3570)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162664 #645416
analogous
#164D64 #162664 #2D1664
triadic
#162664 #641626 #266416
tetradic
#162664 #64164D #645416 #16642D
square
#162664 #64164D #645416 #16642D
split-complementary
#162664 #642D16 #4D6416
monochromatic
#060A19 #0B1332 #162664 #213996 #2C4CC8

Accessibility & contrast

On white

14.04
#162664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162664
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162664#FFFFFF#000000##FFFFFF
##1626641.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162664;
/* rgb */ color: rgb(22, 38, 100);
/* oklch */ color: oklch(29.8% 0.111 267.9);
Tailwind
colors: {
  custom: {
    50: '#606091',
    500: '#162664',
    950: '#000000',
  },
}
SCSS
$custom: #162664;
$custom-light: #606091;
$custom-dark: #000000;
JSON
{
  "hex": "#162664",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 100
  },
  "hsl": {
    "h": 227.692,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29821,
    "c": 0.11126,
    "h": 267.9
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#162664
secondary
#9B873B
accent
#C541E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #162664

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

Preview Lab → · Contrast checker → · Palette generator →

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