#162763#162763

#162763 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.108 H 267.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#162763
RGBrgb(22, 39, 99)
HSLhsl(227, 64%, 24%)
HSVhsv(227, 78%, 39%)
CMYKcmyk(77.8%, 60.6%, 0%, 61.2%)
CIE-LABlab(18.02, 16.61, -37.54)
CIE-LCHlch(18.02, 41.05, 293.87°)
OKLaboklab(29.95% -0.0049 -0.1082)
OKLCHoklch(29.95% 0.108 267.4)
XYZxyz(3.3077, 2.5221, 12.1145)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162763 #635216
analogous
#164D63 #162763 #2B1663
triadic
#162763 #631627 #276316
tetradic
#162763 #63164D #635216 #16632B
square
#162763 #63164D #635216 #16632B
split-complementary
#162763 #632B16 #4D6316
monochromatic
#060A19 #0B1331 #162763 #213B95 #2C4EC7

Accessibility & contrast

On white

13.96
#162763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162763
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162763#FFFFFF#000000##FFFFFF
##1627631.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162763;
/* rgb */ color: rgb(22, 39, 99);
/* oklch */ color: oklch(29.9% 0.108 267.4);
Tailwind
colors: {
  custom: {
    50: '#606090',
    500: '#162763',
    950: '#000000',
  },
}
SCSS
$custom: #162763;
$custom-light: #606090;
$custom-dark: #000000;
JSON
{
  "hex": "#162763",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 99
  },
  "hsl": {
    "h": 226.753,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29948,
    "c": 0.10836,
    "h": 267.4
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#162763
secondary
#9A853B
accent
#C241E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #162763

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

Preview Lab → · Contrast checker → · Palette generator →

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