#162663#162663

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

Color values

HEX#162663
RGBrgb(22, 38, 99)
HSLhsl(228, 64%, 24%)
HSVhsv(228, 78%, 39%)
CMYKcmyk(77.8%, 61.6%, 0%, 61.2%)
CIE-LABlab(17.72, 17.34, -38.02)
CIE-LCHlch(17.72, 41.79, 294.52°)
OKLaboklab(29.73% -0.0041 -0.1097)
OKLCHoklch(29.73% 0.11 267.9)
XYZxyz(3.2753, 2.4573, 12.1037)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162663 #635316
analogous
#164C63 #162663 #2C1663
triadic
#162663 #631626 #266316
tetradic
#162663 #63164C #635316 #16632C
square
#162663 #63164C #635316 #16632C
split-complementary
#162663 #632C16 #4C6316
monochromatic
#060A19 #0B1331 #162663 #213995 #2C4CC7

Accessibility & contrast

On white

14.08
#162663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#162663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162663
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162663#FFFFFF#000000##FFFFFF
##1626631.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162663;
/* rgb */ color: rgb(22, 38, 99);
/* oklch */ color: oklch(29.7% 0.110 267.9);
Tailwind
colors: {
  custom: {
    50: '#605f90',
    500: '#162663',
    950: '#000000',
  },
}
SCSS
$custom: #162663;
$custom-light: #605f90;
$custom-dark: #000000;
JSON
{
  "hex": "#162663",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 99
  },
  "hsl": {
    "h": 227.532,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29728,
    "c": 0.10975,
    "h": 267.9
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#162663
secondary
#9A863B
accent
#C441E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #162663

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

Preview Lab → · Contrast checker → · Palette generator →

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