#162245#162245

#162245 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.068 H 267.4°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#162245
RGBrgb(22, 34, 69)
HSLhsl(225, 52%, 18%)
HSVhsv(225, 68%, 27%)
CMYKcmyk(68.1%, 50.7%, 0%, 72.9%)
CIE-LABlab(14.08, 7.83, -23.65)
CIE-LCHlch(14.08, 24.91, 288.33°)
OKLaboklab(26.21% -0.0031 -0.0675)
OKLCHoklch(26.21% 0.068 267.4)
XYZxyz(1.9767, 1.7441, 5.8616)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162245 #453916
analogous
#163945 #162245 #211645
triadic
#162245 #451622 #224516
tetradic
#162245 #451639 #453916 #164521
square
#162245 #451639 #453916 #164521
split-complementary
#162245 #452116 #394516
monochromatic
#070B17 #070B17 #162245 #253973 #3450A2

Accessibility & contrast

On white

15.57
#162245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#162245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162245
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162245#FFFFFF#000000##FFFFFF
##1622451.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122646
Deuteranopia (green-blind)
#0A2244
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #162245;
/* rgb */ color: rgb(22, 34, 69);
/* oklch */ color: oklch(26.2% 0.068 267.4);
Tailwind
colors: {
  custom: {
    50: '#595c79',
    500: '#162245',
    950: '#000000',
  },
}
SCSS
$custom: #162245;
$custom-light: #595c79;
$custom-dark: #000000;
JSON
{
  "hex": "#162245",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 224.681,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26211,
    "c": 0.06755,
    "h": 267.4
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#162245
secondary
#7C6C3A
accent
#B74DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #162245

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

Preview Lab → · Contrast checker → · Palette generator →

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