#162261#162261

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

Color values

HEX#162261
RGBrgb(22, 34, 97)
HSLhsl(230, 63%, 23%)
HSVhsv(230, 77%, 38%)
CMYKcmyk(77.3%, 64.9%, 0%, 62%)
CIE-LABlab(16.39, 19.44, -38.87)
CIE-LCHlch(16.39, 43.46, 296.57°)
OKLaboklab(28.68% -0.0008 -0.1122)
OKLCHoklch(28.68% 0.112 269.6)
XYZxyz(3.0598, 2.1774, 11.5660)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162261 #615516
analogous
#164761 #162261 #2F1661
triadic
#162261 #611622 #226116
tetradic
#162261 #611647 #615516 #16612F
square
#162261 #611647 #615516 #16612F
split-complementary
#162261 #612F16 #476116
monochromatic
#060919 #0B112F #162261 #213393 #2D45C5

Accessibility & contrast

On white

14.63
#162261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162261
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162261#FFFFFF#000000##FFFFFF
##1622611.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162261;
/* rgb */ color: rgb(22, 34, 97);
/* oklch */ color: oklch(28.7% 0.112 269.6);
Tailwind
colors: {
  custom: {
    50: '#605c8f',
    500: '#162261',
    950: '#000000',
  },
}
SCSS
$custom: #162261;
$custom-light: #605c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#162261",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 230.4,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2868,
    "c": 0.11223,
    "h": 269.6
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#162261
secondary
#98893B
accent
#CC42E6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #162261

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

Preview Lab → · Contrast checker → · Palette generator →

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