#162775#162775

#162775 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.135 H 267.9°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#162775
RGBrgb(22, 39, 117)
HSLhsl(229, 68%, 27%)
HSVhsv(229, 81%, 46%)
CMYKcmyk(81.2%, 66.7%, 0%, 54.1%)
CIE-LABlab(19.66, 23.98, -46.55)
CIE-LCHlch(19.66, 52.36, 297.26°)
OKLaboklab(31.68% -0.0049 -0.1347)
OKLCHoklch(31.68% 0.135 267.9)
XYZxyz(4.2662, 2.9055, 17.1621)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162775 #756416
analogous
#165775 #162775 #351675
triadic
#162775 #751627 #277516
tetradic
#162775 #751657 #756416 #167535
square
#162775 #751657 #756416 #167535
split-complementary
#162775 #753516 #577516
monochromatic
#05091A #0C1641 #162775 #2038A9 #2E4CD8

Accessibility & contrast

On white

13.28
#162775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#162775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162775
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162775#FFFFFF#000000##FFFFFF
##1627751.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162775;
/* rgb */ color: rgb(22, 39, 117);
/* oklch */ color: oklch(31.7% 0.135 267.9);
Tailwind
colors: {
  custom: {
    50: '#65619e',
    500: '#162775',
    950: '#000000',
  },
}
SCSS
$custom: #162775;
$custom-light: #65619e;
$custom-dark: #000000;
JSON
{
  "hex": "#162775",
  "rgb": {
    "r": 22,
    "g": 39,
    "b": 117
  },
  "hsl": {
    "h": 229.263,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31679,
    "c": 0.13477,
    "h": 267.9
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#162775
secondary
#AB973C
accent
#CC3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162775

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

Preview Lab → · Contrast checker → · Palette generator →

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