#162148#162148

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

Color values

HEX#162148
RGBrgb(22, 33, 72)
HSLhsl(227, 53%, 18%)
HSVhsv(227, 69%, 28%)
CMYKcmyk(69.4%, 54.2%, 0%, 71.8%)
CIE-LABlab(13.98, 9.83, -25.89)
CIE-LCHlch(13.98, 27.70, 290.78°)
OKLaboklab(26.2% -0.0013 -0.0741)
OKLCHoklch(26.2% 0.074 269)
XYZxyz(2.0440, 1.7260, 6.3551)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162148 #483D16
analogous
#163A48 #162148 #241648
triadic
#162148 #481621 #214816
tetradic
#162148 #48163A #483D16 #164824
square
#162148 #48163A #483D16 #164824
split-complementary
#162148 #482416 #3A4816
monochromatic
#070B17 #080C19 #162148 #243677 #334CA6

Accessibility & contrast

On white

15.61
#162148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162148
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162148#FFFFFF#000000##FFFFFF
##1621481.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2649
Deuteranopia (green-blind)
#042147
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #162148;
/* rgb */ color: rgb(22, 33, 72);
/* oklch */ color: oklch(26.2% 0.074 269.0);
Tailwind
colors: {
  custom: {
    50: '#595b7b',
    500: '#162148',
    950: '#000000',
  },
}
SCSS
$custom: #162148;
$custom-light: #595b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#162148",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 226.8,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26203,
    "c": 0.0741,
    "h": 269
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#162148
secondary
#7F703A
accent
#BD4BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #162148

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

Preview Lab → · Contrast checker → · Palette generator →

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