#162F5E#162F5E

#162F5E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.090 H 261.7°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#162F5E
RGBrgb(22, 47, 94)
HSLhsl(219, 62%, 23%)
HSVhsv(219, 77%, 37%)
CMYKcmyk(76.6%, 50%, 0%, 63.1%)
CIE-LABlab(20.09, 8.65, -30.90)
CIE-LCHlch(20.09, 32.09, 285.65°)
OKLaboklab(31.4% -0.013 -0.0886)
OKLCHoklch(31.4% 0.09 261.7)
XYZxyz(3.3670, 3.0114, 10.9913)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F5E #5E4516
analogous
#16535E #162F5E #21165E
triadic
#162F5E #5E162F #2F5E16
tetradic
#162F5E #5E1653 #5E4516 #165E21
square
#162F5E #5E1653 #5E4516 #165E21
split-complementary
#162F5E #5E2116 #535E16
monochromatic
#060C19 #0A162C #162F5E #224890 #2D61C1

Accessibility & contrast

On white

13.11
#162F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F5E
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F5E#FFFFFF#000000##FFFFFF
##162F5E1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163460
Deuteranopia (green-blind)
#062D5D
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162f5e;
/* rgb */ color: rgb(22, 47, 94);
/* oklch */ color: oklch(31.4% 0.090 261.7);
Tailwind
colors: {
  custom: {
    50: '#5e678c',
    500: '#162f5e',
    950: '#000000',
  },
}
SCSS
$custom: #162f5e;
$custom-light: #5e678c;
$custom-dark: #000000;
JSON
{
  "hex": "#162f5e",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 219.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31396,
    "c": 0.08952,
    "h": 261.7
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#162F5E
secondary
#95763B
accent
#AD43E5
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #162F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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