#162E65#162E65

#162E65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.102 H 263.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#162E65
RGBrgb(22, 46, 101)
HSLhsl(222, 64%, 24%)
HSVhsv(222, 78%, 40%)
CMYKcmyk(78.2%, 54.5%, 0%, 60.4%)
CIE-LABlab(20.30, 12.33, -35.16)
CIE-LCHlch(20.30, 37.26, 289.32°)
OKLaboklab(31.72% -0.011 -0.1011)
OKLCHoklch(31.72% 0.102 263.8)
XYZxyz(3.6560, 3.0638, 12.7081)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E65 #654D16
analogous
#165665 #162E65 #261665
triadic
#162E65 #65162E #2E6516
tetradic
#162E65 #651656 #654D16 #166526
square
#162E65 #651656 #654D16 #166526
split-complementary
#162E65 #652616 #566516
monochromatic
#050B19 #0B1733 #162E65 #214597 #2C5CCA

Accessibility & contrast

On white

13.02
#162E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#162E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E65
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E65#FFFFFF#000000##FFFFFF
##162E651.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3567
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162e65;
/* rgb */ color: rgb(22, 46, 101);
/* oklch */ color: oklch(31.7% 0.102 263.8);
Tailwind
colors: {
  custom: {
    50: '#606691',
    500: '#162e65',
    950: '#000000',
  },
}
SCSS
$custom: #162e65;
$custom-light: #606691;
$custom-dark: #000000;
JSON
{
  "hex": "#162e65",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 221.772,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31722,
    "c": 0.10171,
    "h": 263.8
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#162E65
secondary
#9C7E3B
accent
#B541E7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #162E65

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

Preview Lab → · Contrast checker → · Palette generator →

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