#162068#162068

#162068 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.0% C 0.125 H 270.2°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#162068
RGBrgb(22, 32, 104)
HSLhsl(233, 65%, 25%)
HSVhsv(233, 79%, 41%)
CMYKcmyk(78.8%, 69.2%, 0%, 59.2%)
CIE-LABlab(16.52, 23.70, -43.28)
CIE-LCHlch(16.52, 49.34, 298.70°)
OKLaboklab(28.98% 0.0003 -0.1252)
OKLCHoklch(28.98% 0.125 270.2)
XYZxyz(3.3452, 2.2027, 13.3429)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162068 #685E16
analogous
#164968 #162068 #351668
triadic
#162068 #681620 #206816
tetradic
#162068 #681649 #685E16 #166835
square
#162068 #681649 #685E16 #166835
split-complementary
#162068 #683516 #496816
monochromatic
#050819 #0B1035 #162068 #21309B #2B3FCD

Accessibility & contrast

On white

14.58
#162068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#162068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162068
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162068#FFFFFF#000000##FFFFFF
##1620681.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002567
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162068;
/* rgb */ color: rgb(22, 32, 104);
/* oklch */ color: oklch(29.0% 0.125 270.2);
Tailwind
colors: {
  custom: {
    50: '#625b94',
    500: '#162068',
    950: '#000000',
  },
}
SCSS
$custom: #162068;
$custom-light: #625b94;
$custom-dark: #000000;
JSON
{
  "hex": "#162068",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 232.683,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.2898,
    "c": 0.12516,
    "h": 270.2
  },
  "luminance": 0.02203
}

Semantic roles & 50–950 ramp

primary
#162068
secondary
#9F923B
accent
#D440E8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162068

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

Preview Lab → · Contrast checker → · Palette generator →

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