#162149#162149

#162149 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.076 H 269.1°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#162149
RGBrgb(22, 33, 73)
HSLhsl(227, 54%, 19%)
HSVhsv(227, 70%, 29%)
CMYKcmyk(69.9%, 54.8%, 0%, 71.4%)
CIE-LABlab(14.05, 10.24, -26.46)
CIE-LCHlch(14.05, 28.38, 291.16°)
OKLaboklab(26.28% -0.0012 -0.0758)
OKLCHoklch(26.28% 0.076 269.1)
XYZxyz(2.0769, 1.7391, 6.5283)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162149 #493E16
analogous
#163A49 #162149 #241649
triadic
#162149 #491621 #214916
tetradic
#162149 #49163A #493E16 #164924
square
#162149 #49163A #493E16 #164924
split-complementary
#162149 #492416 #3A4916
monochromatic
#070B18 #080C1A #162149 #243678 #324CA7

Accessibility & contrast

On white

15.58
#162149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162149
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162149#FFFFFF#000000##FFFFFF
##1621491.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162149;
/* rgb */ color: rgb(22, 33, 73);
/* oklch */ color: oklch(26.3% 0.076 269.1);
Tailwind
colors: {
  custom: {
    50: '#595b7c',
    500: '#162149',
    950: '#000000',
  },
}
SCSS
$custom: #162149;
$custom-light: #595b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#162149",
  "rgb": {
    "r": 22,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 227.059,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26285,
    "c": 0.07577,
    "h": 269.1
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#162149
secondary
#80713A
accent
#BE4BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #162149

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

Preview Lab → · Contrast checker → · Palette generator →

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