#162B61#162B61

#162B61 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.100 H 265.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#162B61
RGBrgb(22, 43, 97)
HSLhsl(223, 63%, 23%)
HSVhsv(223, 77%, 38%)
CMYKcmyk(77.3%, 55.7%, 0%, 62%)
CIE-LABlab(19.06, 12.84, -34.54)
CIE-LCHlch(19.06, 36.85, 290.40°)
OKLaboklab(30.68% -0.0087 -0.0993)
OKLCHoklch(30.68% 0.1 265)
XYZxyz(3.3517, 2.7610, 11.6632)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B61 #614C16
analogous
#165061 #162B61 #261661
triadic
#162B61 #61162B #2B6116
tetradic
#162B61 #611650 #614C16 #166126
square
#162B61 #611650 #614C16 #166126
split-complementary
#162B61 #612616 #506116
monochromatic
#060B19 #0B152F #162B61 #214193 #2D57C5

Accessibility & contrast

On white

13.53
#162B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B61
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B61#FFFFFF#000000##FFFFFF
##162B611.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073263
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162b61;
/* rgb */ color: rgb(22, 43, 97);
/* oklch */ color: oklch(30.7% 0.100 265.0);
Tailwind
colors: {
  custom: {
    50: '#5f638e',
    500: '#162b61',
    950: '#000000',
  },
}
SCSS
$custom: #162b61;
$custom-light: #5f638e;
$custom-dark: #000000;
JSON
{
  "hex": "#162b61",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 97
  },
  "hsl": {
    "h": 223.2,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30682,
    "c": 0.09972,
    "h": 265
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#162B61
secondary
#987E3B
accent
#B842E6
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162B61

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

Preview Lab → · Contrast checker → · Palette generator →

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