#162665#162665

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

Color values

HEX#162665
RGBrgb(22, 38, 101)
HSLhsl(228, 64%, 24%)
HSVhsv(228, 78%, 40%)
CMYKcmyk(78.2%, 62.4%, 0%, 60.4%)
CIE-LABlab(17.90, 18.17, -39.05)
CIE-LCHlch(17.90, 43.07, 294.96°)
OKLaboklab(29.92% -0.004 -0.1127)
OKLCHoklch(29.92% 0.113 267.9)
XYZxyz(3.3721, 2.4960, 12.6135)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162665 #655516
analogous
#164E65 #162665 #2E1665
triadic
#162665 #651626 #266516
tetradic
#162665 #65164E #655516 #16652E
square
#162665 #65164E #655516 #16652E
split-complementary
#162665 #652E16 #4E6516
monochromatic
#050919 #0B1333 #162665 #213997 #2C4CCA

Accessibility & contrast

On white

14.01
#162665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162665
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162665#FFFFFF#000000##FFFFFF
##1626651.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162665;
/* rgb */ color: rgb(22, 38, 101);
/* oklch */ color: oklch(29.9% 0.113 267.9);
Tailwind
colors: {
  custom: {
    50: '#606091',
    500: '#162665',
    950: '#000000',
  },
}
SCSS
$custom: #162665;
$custom-light: #606091;
$custom-dark: #000000;
JSON
{
  "hex": "#162665",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 101
  },
  "hsl": {
    "h": 227.848,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29915,
    "c": 0.11276,
    "h": 267.9
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#162665
secondary
#9C883B
accent
#C541E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #162665

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

Preview Lab → · Contrast checker → · Palette generator →

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