#162E68#162E68

#162E68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.106 H 264.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#162E68
RGBrgb(22, 46, 104)
HSLhsl(222, 65%, 25%)
HSVhsv(222, 79%, 41%)
CMYKcmyk(78.8%, 55.8%, 0%, 59.2%)
CIE-LABlab(20.53, 13.59, -36.73)
CIE-LCHlch(20.53, 39.17, 290.30°)
OKLaboklab(31.98% -0.0106 -0.1057)
OKLCHoklch(31.98% 0.106 264.3)
XYZxyz(3.8057, 3.1236, 13.4964)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E68 #685016
analogous
#165768 #162E68 #271668
triadic
#162E68 #68162E #2E6816
tetradic
#162E68 #681657 #685016 #166827
square
#162E68 #681657 #685016 #166827
split-complementary
#162E68 #682716 #576816
monochromatic
#050B19 #0B1835 #162E68 #21449B #2B5BCD

Accessibility & contrast

On white

12.92
#162E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#162E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E68
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E68#FFFFFF#000000##FFFFFF
##162E681.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05356A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162e68;
/* rgb */ color: rgb(22, 46, 104);
/* oklch */ color: oklch(32.0% 0.106 264.3);
Tailwind
colors: {
  custom: {
    50: '#616694',
    500: '#162e68',
    950: '#000000',
  },
}
SCSS
$custom: #162e68;
$custom-light: #616694;
$custom-dark: #000000;
JSON
{
  "hex": "#162e68",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 222.439,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31975,
    "c": 0.10628,
    "h": 264.3
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#162E68
secondary
#9F813B
accent
#B740E8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #162E68

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

Preview Lab → · Contrast checker → · Palette generator →

#162E68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva