#162570#162570

#162570 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.8% C 0.130 H 268.5°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#162570
RGBrgb(22, 37, 112)
HSLhsl(230, 67%, 26%)
HSVhsv(230, 80%, 44%)
CMYKcmyk(80.4%, 67%, 0%, 56.1%)
CIE-LABlab(18.64, 23.38, -45.00)
CIE-LCHlch(18.64, 50.71, 297.45°)
OKLaboklab(30.78% -0.0034 -0.1302)
OKLCHoklch(30.78% 0.13 268.5)
XYZxyz(3.9161, 2.6631, 15.6337)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162570 #706116
analogous
#165270 #162570 #341670
triadic
#162570 #701625 #257016
tetradic
#162570 #701652 #706116 #167034
square
#162570 #701652 #706116 #167034
split-complementary
#162570 #703416 #527016
monochromatic
#05081A #0C143D #162570 #2036A3 #2B47D5

Accessibility & contrast

On white

13.70
#162570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#162570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162570
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162570#FFFFFF#000000##FFFFFF
##1625701.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162570;
/* rgb */ color: rgb(22, 37, 112);
/* oklch */ color: oklch(30.8% 0.130 268.5);
Tailwind
colors: {
  custom: {
    50: '#645f9a',
    500: '#162570',
    950: '#000000',
  },
}
SCSS
$custom: #162570;
$custom-light: #645f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#162570",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 112
  },
  "hsl": {
    "h": 230,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30779,
    "c": 0.13021,
    "h": 268.5
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#162570
secondary
#A6943C
accent
#CD3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #162570

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

Preview Lab → · Contrast checker → · Palette generator →

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