#162667#162667

#162667 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.1% C 0.116 H 268.0°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#162667
RGBrgb(22, 38, 103)
HSLhsl(228, 65%, 25%)
HSVhsv(228, 79%, 40%)
CMYKcmyk(78.6%, 63.1%, 0%, 59.6%)
CIE-LABlab(18.08, 19.00, -40.07)
CIE-LCHlch(18.08, 44.34, 295.37°)
OKLaboklab(30.1% -0.004 -0.1157)
OKLCHoklch(30.1% 0.116 268)
XYZxyz(3.4713, 2.5357, 13.1358)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162667 #675716
analogous
#164F67 #162667 #2F1667
triadic
#162667 #671626 #266716
tetradic
#162667 #67164F #675716 #16672F
square
#162667 #67164F #675716 #16672F
split-complementary
#162667 #672F16 #4F6716
monochromatic
#050919 #0B1335 #162667 #213999 #2C4BCC

Accessibility & contrast

On white

13.93
#162667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162667
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162667#FFFFFF#000000##FFFFFF
##1626671.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003642
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162667;
/* rgb */ color: rgb(22, 38, 103);
/* oklch */ color: oklch(30.1% 0.116 268.0);
Tailwind
colors: {
  custom: {
    50: '#616093',
    500: '#162667',
    950: '#000000',
  },
}
SCSS
$custom: #162667;
$custom-light: #616093;
$custom-dark: #000000;
JSON
{
  "hex": "#162667",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 103
  },
  "hsl": {
    "h": 228.148,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30104,
    "c": 0.11576,
    "h": 268
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #162667

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

Preview Lab → · Contrast checker → · Palette generator →

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