#162875#162875

#162875 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.133 H 267.6°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#162875
RGBrgb(22, 40, 117)
HSLhsl(229, 68%, 27%)
HSVhsv(229, 81%, 46%)
CMYKcmyk(81.2%, 65.8%, 0%, 54.1%)
CIE-LABlab(19.93, 23.28, -46.11)
CIE-LCHlch(19.93, 51.65, 296.79°)
OKLaboklab(31.88% -0.0055 -0.1334)
OKLCHoklch(31.88% 0.133 267.6)
XYZxyz(4.2994, 2.9720, 17.1732)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162875 #756316
analogous
#165775 #162875 #341675
triadic
#162875 #751628 #287516
tetradic
#162875 #751657 #756316 #167534
square
#162875 #751657 #756316 #167534
split-complementary
#162875 #753416 #577516
monochromatic
#05091A #0C1641 #162875 #203AA9 #2E4ED8

Accessibility & contrast

On white

13.17
#162875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#162875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162875
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162875#FFFFFF#000000##FFFFFF
##1628751.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162875;
/* rgb */ color: rgb(22, 40, 117);
/* oklch */ color: oklch(31.9% 0.133 267.6);
Tailwind
colors: {
  custom: {
    50: '#65619e',
    500: '#162875',
    950: '#000000',
  },
}
SCSS
$custom: #162875;
$custom-light: #65619e;
$custom-dark: #000000;
JSON
{
  "hex": "#162875",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 228.632,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31878,
    "c": 0.13349,
    "h": 267.6
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#162875
secondary
#AB963C
accent
#CA3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162875

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

Preview Lab → · Contrast checker → · Palette generator →

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