#162B65#162B65

#162B65 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.106 H 265.5°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#162B65
RGBrgb(22, 43, 101)
HSLhsl(224, 64%, 24%)
HSVhsv(224, 78%, 40%)
CMYKcmyk(78.2%, 57.4%, 0%, 60.4%)
CIE-LABlab(19.38, 14.52, -36.64)
CIE-LCHlch(19.38, 39.41, 291.62°)
OKLaboklab(31.03% -0.0083 -0.1055)
OKLCHoklch(31.03% 0.106 265.5)
XYZxyz(3.5429, 2.8375, 12.6704)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B65 #655016
analogous
#165365 #162B65 #291665
triadic
#162B65 #65162B #2B6516
tetradic
#162B65 #651653 #655016 #166529
square
#162B65 #651653 #655016 #166529
split-complementary
#162B65 #652916 #536516
monochromatic
#050B19 #0B1633 #162B65 #214097 #2C56CA

Accessibility & contrast

On white

13.40
#162B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B65
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B65#FFFFFF#000000##FFFFFF
##162B651.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162b65;
/* rgb */ color: rgb(22, 43, 101);
/* oklch */ color: oklch(31.0% 0.106 265.5);
Tailwind
colors: {
  custom: {
    50: '#606391',
    500: '#162b65',
    950: '#000000',
  },
}
SCSS
$custom: #162b65;
$custom-light: #606391;
$custom-dark: #000000;
JSON
{
  "hex": "#162b65",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 224.051,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31027,
    "c": 0.10586,
    "h": 265.5
  },
  "luminance": 0.02838
}

Semantic roles & 50–950 ramp

primary
#162B65
secondary
#9C823B
accent
#BB41E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162B65

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

Preview Lab → · Contrast checker → · Palette generator →

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