#162B64#162B64

#162B64 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.104 H 265.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#162B64
RGBrgb(22, 43, 100)
HSLhsl(224, 64%, 24%)
HSVhsv(224, 78%, 39%)
CMYKcmyk(78%, 57%, 0%, 60.8%)
CIE-LABlab(19.30, 14.10, -36.12)
CIE-LCHlch(19.30, 38.77, 291.32°)
OKLaboklab(30.94% -0.0083 -0.104)
OKLCHoklch(30.94% 0.104 265.4)
XYZxyz(3.4942, 2.8181, 12.4139)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B64 #644F16
analogous
#165264 #162B64 #281664
triadic
#162B64 #64162B #2B6416
tetradic
#162B64 #641652 #644F16 #166428
square
#162B64 #641652 #644F16 #166428
split-complementary
#162B64 #642816 #526416
monochromatic
#060B19 #0B1532 #162B64 #214196 #2C56C8

Accessibility & contrast

On white

13.43
#162B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B64
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B64#FFFFFF#000000##FFFFFF
##162B641.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023366
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162b64;
/* rgb */ color: rgb(22, 43, 100);
/* oklch */ color: oklch(30.9% 0.104 265.4);
Tailwind
colors: {
  custom: {
    50: '#606391',
    500: '#162b64',
    950: '#000000',
  },
}
SCSS
$custom: #162b64;
$custom-light: #606391;
$custom-dark: #000000;
JSON
{
  "hex": "#162b64",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 100
  },
  "hsl": {
    "h": 223.846,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3094,
    "c": 0.10433,
    "h": 265.4
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#162B64
secondary
#9B813B
accent
#BA41E7
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050D
muted
#7A797D

Preview Lab

Preview with #162B64

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

Preview Lab → · Contrast checker → · Palette generator →

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