#162864#162864

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

Color values

HEX#162864
RGBrgb(22, 40, 100)
HSLhsl(226, 64%, 24%)
HSVhsv(226, 78%, 39%)
CMYKcmyk(78%, 60%, 0%, 60.8%)
CIE-LABlab(18.40, 16.30, -37.58)
CIE-LCHlch(18.40, 40.96, 293.44°)
OKLaboklab(30.26% -0.0057 -0.1083)
OKLCHoklch(30.26% 0.109 267)
XYZxyz(3.3891, 2.6079, 12.3789)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162864 #645216
analogous
#164F64 #162864 #2B1664
triadic
#162864 #641628 #286416
tetradic
#162864 #64164F #645216 #16642B
square
#162864 #64164F #645216 #16642B
split-complementary
#162864 #642B16 #4F6416
monochromatic
#060A19 #0B1432 #162864 #213C96 #2C50C8

Accessibility & contrast

On white

13.80
#162864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162864
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162864#FFFFFF#000000##FFFFFF
##1628641.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162864;
/* rgb */ color: rgb(22, 40, 100);
/* oklch */ color: oklch(30.3% 0.108 267.0);
Tailwind
colors: {
  custom: {
    50: '#606191',
    500: '#162864',
    950: '#000000',
  },
}
SCSS
$custom: #162864;
$custom-light: #606191;
$custom-dark: #000000;
JSON
{
  "hex": "#162864",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 226.154,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30261,
    "c": 0.1085,
    "h": 267
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#162864
secondary
#9B853B
accent
#C141E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050D
muted
#7A797D

Preview Lab

Preview with #162864

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

Preview Lab → · Contrast checker → · Palette generator →

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