#162A65#162A65

#162A65 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.107 H 266.0°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#162A65
RGBrgb(22, 42, 101)
HSLhsl(225, 64%, 24%)
HSVhsv(225, 78%, 40%)
CMYKcmyk(78.2%, 58.4%, 0%, 60.4%)
CIE-LABlab(19.08, 15.25, -37.13)
CIE-LCHlch(19.08, 40.14, 292.33°)
OKLaboklab(30.8% -0.0074 -0.107)
OKLCHoklch(30.8% 0.107 266)
XYZxyz(3.5070, 2.7657, 12.6584)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A65 #655116
analogous
#165265 #162A65 #2A1665
triadic
#162A65 #65162A #2A6516
tetradic
#162A65 #651652 #655116 #16652A
square
#162A65 #651652 #655116 #16652A
split-complementary
#162A65 #652A16 #526516
monochromatic
#050A19 #0B1533 #162A65 #213F97 #2C54CA

Accessibility & contrast

On white

13.52
#162A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162A65
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A65#FFFFFF#000000##FFFFFF
##162A651.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162a65;
/* rgb */ color: rgb(22, 42, 101);
/* oklch */ color: oklch(30.8% 0.107 266.0);
Tailwind
colors: {
  custom: {
    50: '#606391',
    500: '#162a65',
    950: '#000000',
  },
}
SCSS
$custom: #162a65;
$custom-light: #606391;
$custom-dark: #000000;
JSON
{
  "hex": "#162a65",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 101
  },
  "hsl": {
    "h": 224.81,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30799,
    "c": 0.10724,
    "h": 266
  },
  "luminance": 0.02766
}

Semantic roles & 50–950 ramp

primary
#162A65
secondary
#9C833B
accent
#BD41E7
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #162A65

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

Preview Lab → · Contrast checker → · Palette generator →

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