#162B5C#162B5C

#162B5C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.092 H 264.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#162B5C
RGBrgb(22, 43, 92)
HSLhsl(222, 61%, 22%)
HSVhsv(222, 76%, 36%)
CMYKcmyk(76.1%, 53.3%, 0%, 63.9%)
CIE-LABlab(18.67, 10.74, -31.86)
CIE-LCHlch(18.67, 33.62, 288.63°)
OKLaboklab(30.26% -0.0093 -0.0915)
OKLCHoklch(30.26% 0.092 264.2)
XYZxyz(3.1258, 2.6707, 10.4739)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B5C #5C4716
analogous
#164E5C #162B5C #24165C
triadic
#162B5C #5C162B #2B5C16
tetradic
#162B5C #5C164E #5C4716 #165C24
square
#162B5C #5C164E #5C4716 #165C24
split-complementary
#162B5C #5C2416 #4E5C16
monochromatic
#060C19 #0A142B #162B5C #22428D #2E59BF

Accessibility & contrast

On white

13.69
#162B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#162B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B5C
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B5C#FFFFFF#000000##FFFFFF
##162B5C1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F315E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162b5c;
/* rgb */ color: rgb(22, 43, 92);
/* oklch */ color: oklch(30.3% 0.092 264.2);
Tailwind
colors: {
  custom: {
    50: '#5e638a',
    500: '#162b5c',
    950: '#000000',
  },
}
SCSS
$custom: #162b5c;
$custom-light: #5e638a;
$custom-dark: #000000;
JSON
{
  "hex": "#162b5c",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 92
  },
  "hsl": {
    "h": 222,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30265,
    "c": 0.09193,
    "h": 264.2
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#162B5C
secondary
#93793B
accent
#B443E5
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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