#162960#162960

#162960 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.101 H 266.1°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#162960
RGBrgb(22, 41, 96)
HSLhsl(225, 63%, 23%)
HSVhsv(225, 77%, 38%)
CMYKcmyk(77.1%, 57.3%, 0%, 62.4%)
CIE-LABlab(18.37, 13.89, -35.00)
CIE-LCHlch(18.37, 37.65, 291.65°)
OKLaboklab(30.13% -0.0069 -0.1007)
OKLCHoklch(30.13% 0.101 266.1)
XYZxyz(3.2344, 2.6006, 11.3956)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162960 #604D16
analogous
#164E60 #162960 #281660
triadic
#162960 #601629 #296016
tetradic
#162960 #60164E #604D16 #166028
square
#162960 #60164E #604D16 #166028
split-complementary
#162960 #602816 #4E6016
monochromatic
#060B19 #0B142E #162960 #213E92 #2D54C4

Accessibility & contrast

On white

13.81
#162960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#162960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162960
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162960#FFFFFF#000000##FFFFFF
##1629601.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023062
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#003640
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162960;
/* rgb */ color: rgb(22, 41, 96);
/* oklch */ color: oklch(30.1% 0.101 266.1);
Tailwind
colors: {
  custom: {
    50: '#5f628e',
    500: '#162960',
    950: '#000000',
  },
}
SCSS
$custom: #162960;
$custom-light: #5f628e;
$custom-dark: #000000;
JSON
{
  "hex": "#162960",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 96
  },
  "hsl": {
    "h": 224.595,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30132,
    "c": 0.10098,
    "h": 266.1
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#162960
secondary
#977F3B
accent
#BC42E6
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162960

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

Preview Lab → · Contrast checker → · Palette generator →

#162960 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva