#162575#162575

#162575 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.137 H 268.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#162575
RGBrgb(22, 37, 117)
HSLhsl(231, 68%, 27%)
HSVhsv(231, 81%, 46%)
CMYKcmyk(81.2%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.13, 25.38, -47.42)
CIE-LCHlch(19.13, 53.78, 298.15°)
OKLaboklab(31.29% -0.0037 -0.1372)
OKLCHoklch(31.29% 0.137 268.5)
XYZxyz(4.2022, 2.7776, 17.1408)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162575 #756616
analogous
#165575 #162575 #361675
triadic
#162575 #751625 #257516
tetradic
#162575 #751655 #756616 #167536
square
#162575 #751655 #756616 #167536
split-complementary
#162575 #753616 #557516
monochromatic
#05081A #0C1541 #162575 #2035A9 #2E49D8

Accessibility & contrast

On white

13.50
#162575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162575
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162575#FFFFFF#000000##FFFFFF
##1625751.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162575;
/* rgb */ color: rgb(22, 37, 117);
/* oklch */ color: oklch(31.3% 0.137 268.5);
Tailwind
colors: {
  custom: {
    50: '#655f9e',
    500: '#162575',
    950: '#000000',
  },
}
SCSS
$custom: #162575;
$custom-light: #655f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#162575",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 230.526,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31289,
    "c": 0.1373,
    "h": 268.5
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#162575
secondary
#AB993C
accent
#D03DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #162575

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

Preview Lab → · Contrast checker → · Palette generator →

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