#162675#162675

#162675 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.136 H 268.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#162675
RGBrgb(22, 38, 117)
HSLhsl(230, 68%, 27%)
HSVhsv(230, 81%, 46%)
CMYKcmyk(81.2%, 67.5%, 0%, 54.1%)
CIE-LABlab(19.39, 24.68, -46.99)
CIE-LCHlch(19.39, 53.08, 297.71°)
OKLaboklab(31.48% -0.0043 -0.136)
OKLCHoklch(31.48% 0.136 268.2)
XYZxyz(4.2338, 2.8407, 17.1513)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162675 #756516
analogous
#165575 #162675 #361675
triadic
#162675 #751626 #267516
tetradic
#162675 #751655 #756516 #167536
square
#162675 #751655 #756516 #167536
split-complementary
#162675 #753616 #557516
monochromatic
#05081A #0C1541 #162675 #2037A9 #2E4AD8

Accessibility & contrast

On white

13.39
#162675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162675
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162675#FFFFFF#000000##FFFFFF
##1626751.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162675;
/* rgb */ color: rgb(22, 38, 117);
/* oklch */ color: oklch(31.5% 0.136 268.2);
Tailwind
colors: {
  custom: {
    50: '#65609e',
    500: '#162675',
    950: '#000000',
  },
}
SCSS
$custom: #162675;
$custom-light: #65609e;
$custom-dark: #000000;
JSON
{
  "hex": "#162675",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 229.895,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31482,
    "c": 0.13604,
    "h": 268.2
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#162675
secondary
#AB983C
accent
#CE3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162675

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

Preview Lab → · Contrast checker → · Palette generator →

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