#162C65#162C65

#162C65 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.104 H 265.0°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#162C65
RGBrgb(22, 44, 101)
HSLhsl(223, 64%, 24%)
HSVhsv(223, 78%, 40%)
CMYKcmyk(78.2%, 56.4%, 0%, 60.4%)
CIE-LABlab(19.68, 13.79, -36.15)
CIE-LCHlch(19.68, 38.69, 290.88°)
OKLaboklab(31.26% -0.0091 -0.1041)
OKLCHoklch(31.26% 0.104 265)
XYZxyz(3.5797, 2.9111, 12.6826)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C65 #654F16
analogous
#165465 #162C65 #281665
triadic
#162C65 #65162C #2C6516
tetradic
#162C65 #651654 #654F16 #166528
square
#162C65 #651654 #654F16 #166528
split-complementary
#162C65 #652816 #546516
monochromatic
#050B19 #0B1633 #162C65 #214297 #2C58CA

Accessibility & contrast

On white

13.27
#162C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#162C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C65
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C65#FFFFFF#000000##FFFFFF
##162C651.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043367
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162c65;
/* rgb */ color: rgb(22, 44, 101);
/* oklch */ color: oklch(31.3% 0.104 265.0);
Tailwind
colors: {
  custom: {
    50: '#606491',
    500: '#162c65',
    950: '#000000',
  },
}
SCSS
$custom: #162c65;
$custom-light: #606491;
$custom-dark: #000000;
JSON
{
  "hex": "#162c65",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 101
  },
  "hsl": {
    "h": 223.291,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31256,
    "c": 0.10447,
    "h": 265
  },
  "luminance": 0.02912
}

Semantic roles & 50–950 ramp

primary
#162C65
secondary
#9C813B
accent
#B941E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162C65

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

Preview Lab → · Contrast checker → · Palette generator →

#162C65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva