#162262#162262

#162262 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.114 H 269.6°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#162262
RGBrgb(22, 34, 98)
HSLhsl(231, 63%, 24%)
HSVhsv(231, 78%, 38%)
CMYKcmyk(77.6%, 65.3%, 0%, 61.6%)
CIE-LABlab(16.48, 19.85, -39.38)
CIE-LCHlch(16.48, 44.10, 296.75°)
OKLaboklab(28.78% -0.0008 -0.1137)
OKLCHoklch(28.78% 0.114 269.6)
XYZxyz(3.1068, 2.1961, 11.8131)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162262 #625616
analogous
#164862 #162262 #301662
triadic
#162262 #621622 #226216
tetradic
#162262 #621648 #625616 #166230
square
#162262 #621648 #625616 #166230
split-complementary
#162262 #623016 #486216
monochromatic
#060919 #0B1130 #162262 #213394 #2C45C6

Accessibility & contrast

On white

14.59
#162262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#162262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162262
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162262#FFFFFF#000000##FFFFFF
##1622621.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002561
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162262;
/* rgb */ color: rgb(22, 34, 98);
/* oklch */ color: oklch(28.8% 0.114 269.6);
Tailwind
colors: {
  custom: {
    50: '#605c8f',
    500: '#162262',
    950: '#000000',
  },
}
SCSS
$custom: #162262;
$custom-light: #605c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#162262",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 230.526,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28778,
    "c": 0.11373,
    "h": 269.6
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#162262
secondary
#998A3B
accent
#CC41E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #162262

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

Preview Lab → · Contrast checker → · Palette generator →

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