#162267#162267

#162267 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.3% C 0.121 H 269.5°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#162267
RGBrgb(22, 34, 103)
HSLhsl(231, 65%, 25%)
HSVhsv(231, 79%, 40%)
CMYKcmyk(78.6%, 67%, 0%, 59.6%)
CIE-LABlab(16.96, 21.88, -41.90)
CIE-LCHlch(16.96, 47.27, 297.57°)
OKLaboklab(29.27% -0.001 -0.1211)
OKLCHoklch(29.27% 0.121 269.5)
XYZxyz(3.3502, 2.2935, 13.0955)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162267 #675B16
analogous
#164B67 #162267 #331667
triadic
#162267 #671622 #226716
tetradic
#162267 #67164B #675B16 #166733
square
#162267 #67164B #675B16 #166733
split-complementary
#162267 #673316 #4B6716
monochromatic
#050819 #0B1135 #162267 #213399 #2C43CC

Accessibility & contrast

On white

14.40
#162267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#162267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162267
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162267#FFFFFF#000000##FFFFFF
##1622671.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002666
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162267;
/* rgb */ color: rgb(22, 34, 103);
/* oklch */ color: oklch(29.3% 0.121 269.5);
Tailwind
colors: {
  custom: {
    50: '#615d93',
    500: '#162267',
    950: '#000000',
  },
}
SCSS
$custom: #162267;
$custom-light: #615d93;
$custom-dark: #000000;
JSON
{
  "hex": "#162267",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 231.111,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29274,
    "c": 0.12111,
    "h": 269.5
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#162267
secondary
#9E8F3B
accent
#CF40E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162267

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

Preview Lab → · Contrast checker → · Palette generator →

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