#162659#162659

#162659 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.094 H 267.1°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#162659
RGBrgb(22, 38, 89)
HSLhsl(226, 60%, 22%)
HSVhsv(226, 75%, 35%)
CMYKcmyk(75.3%, 57.3%, 0%, 65.1%)
CIE-LABlab(16.88, 13.17, -32.75)
CIE-LCHlch(16.88, 35.30, 291.91°)
OKLaboklab(28.83% -0.0047 -0.0942)
OKLCHoklch(28.83% 0.094 267.1)
XYZxyz(2.8265, 2.2778, 9.7400)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162659 #594916
analogous
#164859 #162659 #281659
triadic
#162659 #591626 #265916
tetradic
#162659 #591648 #594916 #165928
square
#162659 #591648 #594916 #165928
split-complementary
#162659 #592816 #485916
monochromatic
#060A19 #0A1128 #162659 #223B8A #2E50BB

Accessibility & contrast

On white

14.43
#162659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#162659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162659
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162659#FFFFFF#000000##FFFFFF
##1626591.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042D5B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162659;
/* rgb */ color: rgb(22, 38, 89);
/* oklch */ color: oklch(28.8% 0.094 267.1);
Tailwind
colors: {
  custom: {
    50: '#5d5f88',
    500: '#162659',
    950: '#000000',
  },
}
SCSS
$custom: #162659;
$custom-light: #5d5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#162659",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 89
  },
  "hsl": {
    "h": 225.672,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2883,
    "c": 0.09431,
    "h": 267.1
  },
  "luminance": 0.02278
}

Semantic roles & 50–950 ramp

primary
#162659
secondary
#907C3B
accent
#BD44E4
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #162659

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

Preview Lab → · Contrast checker → · Palette generator →

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