#162465#162465

#162465 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.115 H 268.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#162465
RGBrgb(22, 36, 101)
HSLhsl(229, 64%, 24%)
HSVhsv(229, 78%, 40%)
CMYKcmyk(78.2%, 64.4%, 0%, 60.4%)
CIE-LABlab(17.33, 19.62, -39.98)
CIE-LCHlch(17.33, 44.54, 296.14°)
OKLaboklab(29.49% -0.0024 -0.1155)
OKLCHoklch(29.49% 0.115 268.8)
XYZxyz(3.3099, 2.3716, 12.5927)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162465 #655716
analogous
#164C65 #162465 #301665
triadic
#162465 #651624 #246516
tetradic
#162465 #65164C #655716 #166530
square
#162465 #65164C #655716 #166530
split-complementary
#162465 #653016 #4C6516
monochromatic
#050919 #0B1233 #162465 #213697 #2C48CA

Accessibility & contrast

On white

14.24
#162465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#162465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162465
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162465#FFFFFF#000000##FFFFFF
##1624651.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162465;
/* rgb */ color: rgb(22, 36, 101);
/* oklch */ color: oklch(29.5% 0.115 268.8);
Tailwind
colors: {
  custom: {
    50: '#615e92',
    500: '#162465',
    950: '#000000',
  },
}
SCSS
$custom: #162465;
$custom-light: #615e92;
$custom-dark: #000000;
JSON
{
  "hex": "#162465",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 101
  },
  "hsl": {
    "h": 229.367,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29489,
    "c": 0.11549,
    "h": 268.8
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#162465
secondary
#9C8B3B
accent
#CA41E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #162465

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

Preview Lab → · Contrast checker → · Palette generator →

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