#162348#162348

#162348 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.071 H 267.0°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#162348
RGBrgb(22, 35, 72)
HSLhsl(224, 53%, 18%)
HSVhsv(224, 69%, 28%)
CMYKcmyk(69.4%, 51.4%, 0%, 71.8%)
CIE-LABlab(14.63, 8.32, -24.85)
CIE-LCHlch(14.63, 26.21, 288.51°)
OKLaboklab(26.7% -0.0037 -0.071)
OKLCHoklch(26.7% 0.071 267)
XYZxyz(2.1012, 1.8403, 6.3741)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162348 #483B16
analogous
#163C48 #162348 #221648
triadic
#162348 #481623 #234816
tetradic
#162348 #48163C #483B16 #164822
square
#162348 #48163C #483B16 #164822
split-complementary
#162348 #482216 #3C4816
monochromatic
#070B17 #080C19 #162348 #243A77 #3351A6

Accessibility & contrast

On white

15.35
#162348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#162348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162348
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162348#FFFFFF#000000##FFFFFF
##1623481.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112749
Deuteranopia (green-blind)
#092347
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #162348;
/* rgb */ color: rgb(22, 35, 72);
/* oklch */ color: oklch(26.7% 0.071 267.0);
Tailwind
colors: {
  custom: {
    50: '#595d7b',
    500: '#162348',
    950: '#000000',
  },
}
SCSS
$custom: #162348;
$custom-light: #595d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#162348",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 72
  },
  "hsl": {
    "h": 224.4,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26697,
    "c": 0.0711,
    "h": 267
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#162348
secondary
#7F6E3A
accent
#B74BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #162348

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

Preview Lab → · Contrast checker → · Palette generator →

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