#162658#162658

#162658 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.093 H 267.0°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#162658
RGBrgb(22, 38, 88)
HSLhsl(225, 60%, 22%)
HSVhsv(225, 75%, 35%)
CMYKcmyk(75%, 56.8%, 0%, 65.5%)
CIE-LABlab(16.80, 12.76, -32.21)
CIE-LCHlch(16.80, 34.65, 291.60°)
OKLaboklab(28.74% -0.0048 -0.0926)
OKLCHoklch(28.74% 0.093 267)
XYZxyz(2.7848, 2.2611, 9.5203)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162658 #584816
analogous
#164758 #162658 #271658
triadic
#162658 #581626 #265816
tetradic
#162658 #581647 #584816 #165827
square
#162658 #581647 #584816 #165827
split-complementary
#162658 #582716 #475816
monochromatic
#060B18 #0A1127 #162658 #223B89 #2E50BA

Accessibility & contrast

On white

14.46
#162658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#162658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162658
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162658#FFFFFF#000000##FFFFFF
##1626581.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052D5A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162658;
/* rgb */ color: rgb(22, 38, 88);
/* oklch */ color: oklch(28.7% 0.093 267.0);
Tailwind
colors: {
  custom: {
    50: '#5d5f88',
    500: '#162658',
    950: '#000000',
  },
}
SCSS
$custom: #162658;
$custom-light: #5d5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#162658",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 225.455,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28743,
    "c": 0.09273,
    "h": 267
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#162658
secondary
#8F7B3B
accent
#BD45E3
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #162658

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

Preview Lab → · Contrast checker → · Palette generator →

#162658 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva