#162A68#162A68

#162A68 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.112 H 266.3°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#162A68
RGBrgb(22, 42, 104)
HSLhsl(225, 65%, 25%)
HSVhsv(225, 79%, 41%)
CMYKcmyk(78.8%, 59.6%, 0%, 59.2%)
CIE-LABlab(19.33, 16.50, -38.68)
CIE-LCHlch(19.33, 42.05, 293.10°)
OKLaboklab(31.07% -0.0072 -0.1115)
OKLCHoklch(31.07% 0.112 266.3)
XYZxyz(3.6567, 2.8256, 13.4467)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A68 #685416
analogous
#165368 #162A68 #2B1668
triadic
#162A68 #68162A #2A6816
tetradic
#162A68 #681653 #685416 #16682B
square
#162A68 #681653 #685416 #16682B
split-complementary
#162A68 #682B16 #536816
monochromatic
#050A19 #0B1635 #162A68 #213E9B #2B53CD

Accessibility & contrast

On white

13.42
#162A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#162A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A68
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A68#FFFFFF#000000##FFFFFF
##162A681.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #162a68;
/* rgb */ color: rgb(22, 42, 104);
/* oklch */ color: oklch(31.1% 0.112 266.3);
Tailwind
colors: {
  custom: {
    50: '#616394',
    500: '#162a68',
    950: '#000000',
  },
}
SCSS
$custom: #162a68;
$custom-light: #616394;
$custom-dark: #000000;
JSON
{
  "hex": "#162a68",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 225.366,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31068,
    "c": 0.11178,
    "h": 266.3
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#162A68
secondary
#9F863B
accent
#BF40E8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #162A68

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

Preview Lab → · Contrast checker → · Palette generator →

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