#162260#162260

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

Color values

HEX#162260
RGBrgb(22, 34, 96)
HSLhsl(230, 63%, 23%)
HSVhsv(230, 77%, 38%)
CMYKcmyk(77.1%, 64.6%, 0%, 62.4%)
CIE-LABlab(16.30, 19.03, -38.36)
CIE-LCHlch(16.30, 42.82, 296.39°)
OKLaboklab(28.58% -0.0008 -0.1107)
OKLCHoklch(28.58% 0.111 269.6)
XYZxyz(3.0135, 2.1588, 11.3219)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162260 #605416
analogous
#164760 #162260 #2F1660
triadic
#162260 #601622 #226016
tetradic
#162260 #601647 #605416 #16602F
square
#162260 #601647 #605416 #16602F
split-complementary
#162260 #602F16 #476016
monochromatic
#060919 #0B102E #162260 #213492 #2D45C4

Accessibility & contrast

On white

14.67
#162260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162260
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162260#FFFFFF#000000##FFFFFF
##1622601.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162260;
/* rgb */ color: rgb(22, 34, 96);
/* oklch */ color: oklch(28.6% 0.111 269.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c8e',
    500: '#162260',
    950: '#000000',
  },
}
SCSS
$custom: #162260;
$custom-light: #5f5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#162260",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 230.27,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28583,
    "c": 0.11073,
    "h": 269.6
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#162260
secondary
#97883B
accent
#CB42E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #162260

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

Preview Lab → · Contrast checker → · Palette generator →

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