#162765#162765

#162765 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.111 H 267.5°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#162765
RGBrgb(22, 39, 101)
HSLhsl(227, 64%, 24%)
HSVhsv(227, 78%, 40%)
CMYKcmyk(78.2%, 61.4%, 0%, 60.4%)
CIE-LABlab(18.19, 17.44, -38.57)
CIE-LCHlch(18.19, 42.33, 294.33°)
OKLaboklab(30.13% -0.0049 -0.1113)
OKLCHoklch(30.13% 0.111 267.5)
XYZxyz(3.4045, 2.5608, 12.6243)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162765 #655416
analogous
#164F65 #162765 #2D1665
triadic
#162765 #651627 #276516
tetradic
#162765 #65164F #655416 #16652D
square
#162765 #65164F #655416 #16652D
split-complementary
#162765 #652D16 #4F6516
monochromatic
#050A19 #0B1433 #162765 #213A97 #2C4ECA

Accessibility & contrast

On white

13.89
#162765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162765
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162765#FFFFFF#000000##FFFFFF
##1627651.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162765;
/* rgb */ color: rgb(22, 39, 101);
/* oklch */ color: oklch(30.1% 0.111 267.5);
Tailwind
colors: {
  custom: {
    50: '#606091',
    500: '#162765',
    950: '#000000',
  },
}
SCSS
$custom: #162765;
$custom-light: #606091;
$custom-dark: #000000;
JSON
{
  "hex": "#162765",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 101
  },
  "hsl": {
    "h": 227.089,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30132,
    "c": 0.1114,
    "h": 267.5
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#162765
secondary
#9C873B
accent
#C341E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162765

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

Preview Lab → · Contrast checker → · Palette generator →

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