#162065#162065

#162065 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.121 H 270.3°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#162065
RGBrgb(22, 32, 101)
HSLhsl(232, 64%, 24%)
HSVhsv(232, 78%, 40%)
CMYKcmyk(78.2%, 68.3%, 0%, 60.4%)
CIE-LABlab(16.22, 22.50, -41.79)
CIE-LCHlch(16.22, 47.46, 298.29°)
OKLaboklab(28.67% 0.0005 -0.1208)
OKLCHoklch(28.67% 0.121 270.3)
XYZxyz(3.1955, 2.1428, 12.5546)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162065 #655B16
analogous
#164865 #162065 #341665
triadic
#162065 #651620 #206516
tetradic
#162065 #651648 #655B16 #166534
square
#162065 #651648 #655B16 #166534
split-complementary
#162065 #653416 #486516
monochromatic
#050819 #0B1033 #162065 #213097 #2C40CA

Accessibility & contrast

On white

14.70
#162065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162065
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162065#FFFFFF#000000##FFFFFF
##1620651.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002564
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162065;
/* rgb */ color: rgb(22, 32, 101);
/* oklch */ color: oklch(28.7% 0.121 270.3);
Tailwind
colors: {
  custom: {
    50: '#615b92',
    500: '#162065',
    950: '#000000',
  },
}
SCSS
$custom: #162065;
$custom-light: #615b92;
$custom-dark: #000000;
JSON
{
  "hex": "#162065",
  "rgb": {
    "r": 22,
    "g": 32,
    "b": 101
  },
  "hsl": {
    "h": 232.405,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28671,
    "c": 0.12082,
    "h": 270.3
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#162065
secondary
#9C8F3B
accent
#D241E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #162065

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

Preview Lab → · Contrast checker → · Palette generator →

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