#162A5B#162A5B

#162A5B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.092 H 264.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#162A5B
RGBrgb(22, 42, 91)
HSLhsl(223, 61%, 22%)
HSVhsv(223, 76%, 36%)
CMYKcmyk(75.8%, 53.8%, 0%, 64.3%)
CIE-LABlab(18.28, 11.05, -31.82)
CIE-LCHlch(18.28, 33.69, 289.16°)
OKLaboklab(29.94% -0.0084 -0.0914)
OKLCHoklch(29.94% 0.092 264.7)
XYZxyz(3.0465, 2.5815, 10.2332)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A5B #5B4716
analogous
#164D5B #162A5B #25165B
triadic
#162A5B #5B162A #2A5B16
tetradic
#162A5B #5B164D #5B4716 #165B25
square
#162A5B #5B164D #5B4716 #165B25
split-complementary
#162A5B #5B2516 #4D5B16
monochromatic
#060B19 #0A132A #162A5B #22418C #2E57BE

Accessibility & contrast

On white

13.85
#162A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A5B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A5B#FFFFFF#000000##FFFFFF
##162A5B1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D305D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162a5b;
/* rgb */ color: rgb(22, 42, 91);
/* oklch */ color: oklch(29.9% 0.092 264.7);
Tailwind
colors: {
  custom: {
    50: '#5d638a',
    500: '#162a5b',
    950: '#000000',
  },
}
SCSS
$custom: #162a5b;
$custom-light: #5d638a;
$custom-dark: #000000;
JSON
{
  "hex": "#162a5b",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 222.609,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29943,
    "c": 0.09177,
    "h": 264.7
  },
  "luminance": 0.02582
}

Semantic roles & 50–950 ramp

primary
#162A5B
secondary
#92793B
accent
#B644E4
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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