#162966#162966

#162966 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.110 H 266.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#162966
RGBrgb(22, 41, 102)
HSLhsl(226, 65%, 24%)
HSVhsv(226, 78%, 40%)
CMYKcmyk(78.4%, 59.8%, 0%, 60%)
CIE-LABlab(18.87, 16.40, -38.13)
CIE-LCHlch(18.87, 41.51, 293.27°)
OKLaboklab(30.67% -0.0065 -0.1099)
OKLCHoklch(30.67% 0.11 266.6)
XYZxyz(3.5212, 2.7154, 12.9063)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162966 #665316
analogous
#165166 #162966 #2B1666
triadic
#162966 #661629 #296616
tetradic
#162966 #661651 #665316 #16662B
square
#162966 #661651 #665316 #16662B
split-complementary
#162966 #662B16 #516616
monochromatic
#050A19 #0B1534 #162966 #213D98 #2C51CB

Accessibility & contrast

On white

13.61
#162966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162966
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162966#FFFFFF#000000##FFFFFF
##1629661.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162966;
/* rgb */ color: rgb(22, 41, 102);
/* oklch */ color: oklch(30.7% 0.110 266.6);
Tailwind
colors: {
  custom: {
    50: '#606292',
    500: '#162966',
    950: '#000000',
  },
}
SCSS
$custom: #162966;
$custom-light: #606292;
$custom-dark: #000000;
JSON
{
  "hex": "#162966",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 102
  },
  "hsl": {
    "h": 225.75,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30665,
    "c": 0.11014,
    "h": 266.6
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#162966
secondary
#9D853B
accent
#C040E8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162966

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

Preview Lab → · Contrast checker → · Palette generator →

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