#162B66#162B66

#162B66 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.107 H 265.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#162B66
RGBrgb(22, 43, 102)
HSLhsl(224, 65%, 24%)
HSVhsv(224, 78%, 40%)
CMYKcmyk(78.4%, 57.8%, 0%, 60%)
CIE-LABlab(19.46, 14.94, -37.16)
CIE-LCHlch(19.46, 40.05, 291.90°)
OKLaboklab(31.11% -0.0082 -0.1071)
OKLCHoklch(31.11% 0.107 265.6)
XYZxyz(3.5922, 2.8572, 12.9300)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B66 #665116
analogous
#165366 #162B66 #291666
triadic
#162B66 #66162B #2B6616
tetradic
#162B66 #661653 #665116 #166629
square
#162B66 #661653 #665116 #166629
split-complementary
#162B66 #662916 #536616
monochromatic
#050B19 #0B1634 #162B66 #214098 #2C55CB

Accessibility & contrast

On white

13.36
#162B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B66
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B66#FFFFFF#000000##FFFFFF
##162B661.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162b66;
/* rgb */ color: rgb(22, 43, 102);
/* oklch */ color: oklch(31.1% 0.107 265.6);
Tailwind
colors: {
  custom: {
    50: '#606392',
    500: '#162b66',
    950: '#000000',
  },
}
SCSS
$custom: #162b66;
$custom-light: #606392;
$custom-dark: #000000;
JSON
{
  "hex": "#162b66",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 224.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31114,
    "c": 0.10738,
    "h": 265.6
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#162B66
secondary
#9D833B
accent
#BC40E8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162B66

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

Preview Lab → · Contrast checker → · Palette generator →

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