#162767#162767

#162767 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.114 H 267.6°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#162767
RGBrgb(22, 39, 103)
HSLhsl(227, 65%, 25%)
HSVhsv(227, 79%, 40%)
CMYKcmyk(78.6%, 62.1%, 0%, 59.6%)
CIE-LABlab(18.37, 18.27, -39.60)
CIE-LCHlch(18.37, 43.61, 294.77°)
OKLaboklab(30.32% -0.0048 -0.1143)
OKLCHoklch(30.32% 0.114 267.6)
XYZxyz(3.5037, 2.6005, 13.1466)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162767 #675616
analogous
#165067 #162767 #2D1667
triadic
#162767 #671627 #276716
tetradic
#162767 #671650 #675616 #16672D
square
#162767 #671650 #675616 #16672D
split-complementary
#162767 #672D16 #506716
monochromatic
#050A19 #0B1435 #162767 #213A99 #2C4DCC

Accessibility & contrast

On white

13.81
#162767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162767
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162767#FFFFFF#000000##FFFFFF
##1627671.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162767;
/* rgb */ color: rgb(22, 39, 103);
/* oklch */ color: oklch(30.3% 0.114 267.6);
Tailwind
colors: {
  custom: {
    50: '#616093',
    500: '#162767',
    950: '#000000',
  },
}
SCSS
$custom: #162767;
$custom-light: #616093;
$custom-dark: #000000;
JSON
{
  "hex": "#162767",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 227.407,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30319,
    "c": 0.11439,
    "h": 267.6
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#162767
secondary
#9E893B
accent
#C540E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #162767

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

Preview Lab → · Contrast checker → · Palette generator →

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