#162565#162565

#162565 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.7% C 0.114 H 268.4°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#162565
RGBrgb(22, 37, 101)
HSLhsl(229, 64%, 24%)
HSVhsv(229, 78%, 40%)
CMYKcmyk(78.2%, 63.4%, 0%, 60.4%)
CIE-LABlab(17.61, 18.90, -39.52)
CIE-LCHlch(17.61, 43.80, 295.56°)
OKLaboklab(29.7% -0.0032 -0.1141)
OKLCHoklch(29.7% 0.114 268.4)
XYZxyz(3.3406, 2.4329, 12.6029)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162565 #655616
analogous
#164D65 #162565 #2F1665
triadic
#162565 #651625 #256516
tetradic
#162565 #65164D #655616 #16652F
square
#162565 #65164D #655616 #16652F
split-complementary
#162565 #652F16 #4D6516
monochromatic
#050919 #0B1333 #162565 #213797 #2C4ACA

Accessibility & contrast

On white

14.13
#162565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#162565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162565
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162565#FFFFFF#000000##FFFFFF
##1625651.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162565;
/* rgb */ color: rgb(22, 37, 101);
/* oklch */ color: oklch(29.7% 0.114 268.4);
Tailwind
colors: {
  custom: {
    50: '#605f91',
    500: '#162565',
    950: '#000000',
  },
}
SCSS
$custom: #162565;
$custom-light: #605f91;
$custom-dark: #000000;
JSON
{
  "hex": "#162565",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 101
  },
  "hsl": {
    "h": 228.608,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.297,
    "c": 0.11414,
    "h": 268.4
  },
  "luminance": 0.02433
}

Semantic roles & 50–950 ramp

primary
#162565
secondary
#9C893B
accent
#C841E7
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #162565

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

Preview Lab → · Contrast checker → · Palette generator →

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