#162A64#162A64

#162A64 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.106 H 265.9°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#162A64
RGBrgb(22, 42, 100)
HSLhsl(225, 64%, 24%)
HSVhsv(225, 78%, 39%)
CMYKcmyk(78%, 58%, 0%, 60.8%)
CIE-LABlab(19.00, 14.83, -36.61)
CIE-LCHlch(19.00, 39.50, 292.06°)
OKLaboklab(30.71% -0.0075 -0.1055)
OKLCHoklch(30.71% 0.106 265.9)
XYZxyz(3.4583, 2.7462, 12.4019)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A64 #645016
analogous
#165164 #162A64 #291664
triadic
#162A64 #64162A #2A6416
tetradic
#162A64 #641651 #645016 #166429
square
#162A64 #641651 #645016 #166429
split-complementary
#162A64 #642916 #516416
monochromatic
#060B19 #0B1532 #162A64 #213F96 #2C54C8

Accessibility & contrast

On white

13.55
#162A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A64
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A64#FFFFFF#000000##FFFFFF
##162A641.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162a64;
/* rgb */ color: rgb(22, 42, 100);
/* oklch */ color: oklch(30.7% 0.106 265.9);
Tailwind
colors: {
  custom: {
    50: '#606391',
    500: '#162a64',
    950: '#000000',
  },
}
SCSS
$custom: #162a64;
$custom-light: #606391;
$custom-dark: #000000;
JSON
{
  "hex": "#162a64",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 224.615,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30711,
    "c": 0.10572,
    "h": 265.9
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#162A64
secondary
#9B823B
accent
#BC41E7
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050D
muted
#7A797D

Preview Lab

Preview with #162A64

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

Preview Lab → · Contrast checker → · Palette generator →

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