#162253#162253

#162253 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.091 H 269.2°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#162253
RGBrgb(22, 34, 83)
HSLhsl(228, 58%, 21%)
HSVhsv(228, 73%, 33%)
CMYKcmyk(73.5%, 59%, 0%, 67.5%)
CIE-LABlab(15.16, 13.65, -31.50)
CIE-LCHlch(15.16, 34.33, 293.43°)
OKLaboklab(27.38% -0.0012 -0.0906)
OKLCHoklch(27.38% 0.091 269.2)
XYZxyz(2.4637, 1.9389, 8.4263)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162253 #534716
analogous
#164053 #162253 #281653
triadic
#162253 #531622 #225316
tetradic
#162253 #531640 #534716 #165328
square
#162253 #531640 #534716 #165328
split-complementary
#162253 #532816 #405316
monochromatic
#060A18 #090E23 #162253 #233683 #304AB4

Accessibility & contrast

On white

15.13
#162253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#162253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162253
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162253#FFFFFF#000000##FFFFFF
##1622531.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012955
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162253;
/* rgb */ color: rgb(22, 34, 83);
/* oklch */ color: oklch(27.4% 0.091 269.2);
Tailwind
colors: {
  custom: {
    50: '#5c5c84',
    500: '#162253',
    950: '#000000',
  },
}
SCSS
$custom: #162253;
$custom-light: #5c5c84;
$custom-dark: #000000;
JSON
{
  "hex": "#162253",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 228.197,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27377,
    "c": 0.09058,
    "h": 269.2
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#162253
secondary
#8A7B3A
accent
#C346E1
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #162253

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

Preview Lab → · Contrast checker → · Palette generator →

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