#162764#162764

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

Color values

HEX#162764
RGBrgb(22, 39, 100)
HSLhsl(227, 64%, 24%)
HSVhsv(227, 78%, 39%)
CMYKcmyk(78%, 61%, 0%, 60.8%)
CIE-LABlab(18.10, 17.03, -38.06)
CIE-LCHlch(18.10, 41.69, 294.10°)
OKLaboklab(30.04% -0.0049 -0.1098)
OKLCHoklch(30.04% 0.11 267.4)
XYZxyz(3.3558, 2.5414, 12.3678)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162764 #645316
analogous
#164E64 #162764 #2C1664
triadic
#162764 #641627 #276416
tetradic
#162764 #64164E #645316 #16642C
square
#162764 #64164E #645316 #16642C
split-complementary
#162764 #642C16 #4E6416
monochromatic
#060A19 #0B1332 #162764 #213B96 #2C4EC8

Accessibility & contrast

On white

13.92
#162764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162764
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162764#FFFFFF#000000##FFFFFF
##1627641.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162764;
/* rgb */ color: rgb(22, 39, 100);
/* oklch */ color: oklch(30.0% 0.110 267.4);
Tailwind
colors: {
  custom: {
    50: '#606091',
    500: '#162764',
    950: '#000000',
  },
}
SCSS
$custom: #162764;
$custom-light: #606091;
$custom-dark: #000000;
JSON
{
  "hex": "#162764",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 100
  },
  "hsl": {
    "h": 226.923,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3004,
    "c": 0.10988,
    "h": 267.4
  },
  "luminance": 0.02542
}

Semantic roles & 50–950 ramp

primary
#162764
secondary
#9B863B
accent
#C341E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050D
muted
#7A797D

Preview Lab

Preview with #162764

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

Preview Lab → · Contrast checker → · Palette generator →

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