#162248#162248

#162248 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.073 H 268.0°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#162248
RGBrgb(22, 34, 72)
HSLhsl(226, 53%, 18%)
HSVhsv(226, 69%, 28%)
CMYKcmyk(69.4%, 52.8%, 0%, 71.8%)
CIE-LABlab(14.30, 9.07, -25.38)
CIE-LCHlch(14.30, 26.95, 289.68°)
OKLaboklab(26.45% -0.0025 -0.0725)
OKLCHoklch(26.45% 0.073 268)
XYZxyz(2.0722, 1.7823, 6.3645)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162248 #483C16
analogous
#163B48 #162248 #231648
triadic
#162248 #481622 #224816
tetradic
#162248 #48163B #483C16 #164823
square
#162248 #48163B #483C16 #164823
split-complementary
#162248 #482316 #3B4816
monochromatic
#070B17 #080C19 #162248 #243877 #334EA6

Accessibility & contrast

On white

15.48
#162248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#162248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162248
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162248#FFFFFF#000000##FFFFFF
##1622481.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2749
Deuteranopia (green-blind)
#062247
Tritanopia (blue-blind)
#002B31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #162248;
/* rgb */ color: rgb(22, 34, 72);
/* oklch */ color: oklch(26.4% 0.073 268.0);
Tailwind
colors: {
  custom: {
    50: '#595c7b',
    500: '#162248',
    950: '#000000',
  },
}
SCSS
$custom: #162248;
$custom-light: #595c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#162248",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 225.6,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26448,
    "c": 0.07259,
    "h": 268
  },
  "luminance": 0.01783
}

Semantic roles & 50–950 ramp

primary
#162248
secondary
#7F6F3A
accent
#BA4BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #162248

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

Preview Lab → · Contrast checker → · Palette generator →

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