#162E6E#162E6E

#162E6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.115 H 265.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#162E6E
RGBrgb(22, 46, 110)
HSLhsl(224, 67%, 26%)
HSVhsv(224, 80%, 43%)
CMYKcmyk(80%, 58.2%, 0%, 56.9%)
CIE-LABlab(21.02, 16.10, -39.83)
CIE-LCHlch(21.02, 42.96, 292.00°)
OKLaboklab(32.5% -0.0101 -0.1149)
OKLCHoklch(32.5% 0.115 265)
XYZxyz(4.1213, 3.2499, 15.1589)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E6E #6E5616
analogous
#165A6E #162E6E #2A166E
triadic
#162E6E #6E162E #2E6E16
tetradic
#162E6E #6E165A #6E5616 #166E2A
square
#162E6E #6E165A #6E5616 #166E2A
split-complementary
#162E6E #6E2A16 #5A6E16
monochromatic
#050B1A #0C193B #162E6E #2043A1 #2A59D4

Accessibility & contrast

On white

12.73
#162E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#162E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162E6E
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E6E#FFFFFF#000000##FFFFFF
##162E6E1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #162e6e;
/* rgb */ color: rgb(22, 46, 110);
/* oklch */ color: oklch(32.5% 0.115 265.0);
Tailwind
colors: {
  custom: {
    50: '#626698',
    500: '#162e6e',
    950: '#000000',
  },
}
SCSS
$custom: #162e6e;
$custom-light: #626698;
$custom-dark: #000000;
JSON
{
  "hex": "#162e6e",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 223.636,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32496,
    "c": 0.11531,
    "h": 265
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#162E6E
secondary
#A4883C
accent
#BB3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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