#162165#162165

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

Color values

HEX#162165
RGBrgb(22, 33, 101)
HSLhsl(232, 64%, 24%)
HSVhsv(232, 78%, 40%)
CMYKcmyk(78.2%, 67.3%, 0%, 60.4%)
CIE-LABlab(16.49, 21.79, -41.35)
CIE-LCHlch(16.49, 46.74, 297.78°)
OKLaboklab(28.87% -0.0002 -0.1195)
OKLCHoklch(28.87% 0.12 269.9)
XYZxyz(3.2229, 2.1975, 12.5637)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162165 #655A16
analogous
#164965 #162165 #331665
triadic
#162165 #651621 #216516
tetradic
#162165 #651649 #655A16 #166533
square
#162165 #651649 #655A16 #166533
split-complementary
#162165 #653316 #496516
monochromatic
#050819 #0B1133 #162165 #213197 #2C42CA

Accessibility & contrast

On white

14.59
#162165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#162165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162165
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162165#FFFFFF#000000##FFFFFF
##1621651.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162165;
/* rgb */ color: rgb(22, 33, 101);
/* oklch */ color: oklch(28.9% 0.120 269.9);
Tailwind
colors: {
  custom: {
    50: '#615c92',
    500: '#162165',
    950: '#000000',
  },
}
SCSS
$custom: #162165;
$custom-light: #615c92;
$custom-dark: #000000;
JSON
{
  "hex": "#162165",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 231.646,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28871,
    "c": 0.11951,
    "h": 269.9
  },
  "luminance": 0.02198
}

Semantic roles & 50–950 ramp

primary
#162165
secondary
#9C8E3B
accent
#D041E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162165

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

Preview Lab → · Contrast checker → · Palette generator →

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