#162475#162475

#162475 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.139 H 268.7°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#162475
RGBrgb(22, 36, 117)
HSLhsl(231, 68%, 27%)
HSVhsv(231, 81%, 46%)
CMYKcmyk(81.2%, 69.2%, 0%, 54.1%)
CIE-LABlab(18.87, 26.07, -47.85)
CIE-LCHlch(18.87, 54.49, 298.58°)
OKLaboklab(31.1% -0.0031 -0.1385)
OKLCHoklch(31.1% 0.139 268.7)
XYZxyz(4.1715, 2.7162, 17.1306)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162475 #756716
analogous
#165475 #162475 #381675
triadic
#162475 #751624 #247516
tetradic
#162475 #751654 #756716 #167538
square
#162475 #751654 #756716 #167538
split-complementary
#162475 #753816 #547516
monochromatic
#05081A #0C1441 #162475 #2034A9 #2E47D8

Accessibility & contrast

On white

13.61
#162475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162475
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162475#FFFFFF#000000##FFFFFF
##1624751.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162475;
/* rgb */ color: rgb(22, 36, 117);
/* oklch */ color: oklch(31.1% 0.139 268.7);
Tailwind
colors: {
  custom: {
    50: '#655e9e',
    500: '#162475',
    950: '#000000',
  },
}
SCSS
$custom: #162475;
$custom-light: #655e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#162475",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 117
  },
  "hsl": {
    "h": 231.158,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31098,
    "c": 0.13854,
    "h": 268.7
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#162475
secondary
#AB9A3C
accent
#D13DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #162475

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

Preview Lab → · Contrast checker → · Palette generator →

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