#162278#162278

#162278 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.145 H 269.1°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#162278
RGBrgb(22, 34, 120)
HSLhsl(233, 69%, 28%)
HSVhsv(233, 82%, 47%)
CMYKcmyk(81.7%, 71.7%, 0%, 52.9%)
CIE-LABlab(18.67, 28.60, -50.10)
CIE-LCHlch(18.67, 57.69, 299.72°)
OKLaboklab(31.05% -0.0022 -0.1451)
OKLCHoklch(31.05% 0.145 269.1)
XYZxyz(4.2919, 2.6702, 18.0549)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162278 #786C16
analogous
#165378 #162278 #3B1678
triadic
#162278 #781622 #227816
tetradic
#162278 #781653 #786C16 #16783B
square
#162278 #781653 #786C16 #16783B
split-complementary
#162278 #783B16 #537816
monochromatic
#05071A #0D1344 #162278 #1F31AC #2F44D9

Accessibility & contrast

On white

13.69
#162278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162278
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162278#FFFFFF#000000##FFFFFF
##1622781.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #162278;
/* rgb */ color: rgb(22, 34, 120);
/* oklch */ color: oklch(31.0% 0.145 269.1);
Tailwind
colors: {
  custom: {
    50: '#665da0',
    500: '#162278',
    950: '#000000',
  },
}
SCSS
$custom: #162278;
$custom-light: #665da0;
$custom-dark: #000000;
JSON
{
  "hex": "#162278",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 232.653,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31047,
    "c": 0.1451,
    "h": 269.1
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#162278
secondary
#ADA03C
accent
#D63CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #162278

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

Preview Lab → · Contrast checker → · Palette generator →

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