#162668#162668

#162668 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.117 H 268.0°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#162668
RGBrgb(22, 38, 104)
HSLhsl(228, 65%, 25%)
HSVhsv(228, 79%, 41%)
CMYKcmyk(78.8%, 63.5%, 0%, 59.2%)
CIE-LABlab(18.17, 19.41, -40.57)
CIE-LCHlch(18.17, 44.98, 295.56°)
OKLaboklab(30.2% -0.004 -0.1172)
OKLCHoklch(30.2% 0.117 268)
XYZxyz(3.5218, 2.5559, 13.4017)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162668 #685816
analogous
#164F68 #162668 #2F1668
triadic
#162668 #681626 #266816
tetradic
#162668 #68164F #685816 #16682F
square
#162668 #68164F #685816 #16682F
split-complementary
#162668 #682F16 #4F6816
monochromatic
#050919 #0B1435 #162668 #21389B #2B4BCD

Accessibility & contrast

On white

13.90
#162668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#162668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162668
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162668#FFFFFF#000000##FFFFFF
##1626681.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162668;
/* rgb */ color: rgb(22, 38, 104);
/* oklch */ color: oklch(30.2% 0.117 268.0);
Tailwind
colors: {
  custom: {
    50: '#616094',
    500: '#162668',
    950: '#000000',
  },
}
SCSS
$custom: #162668;
$custom-light: #616094;
$custom-dark: #000000;
JSON
{
  "hex": "#162668",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 104
  },
  "hsl": {
    "h": 228.293,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30199,
    "c": 0.11724,
    "h": 268
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#162668
secondary
#9F8B3B
accent
#C740E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162668

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

Preview Lab → · Contrast checker → · Palette generator →

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