#163F7A#163F7A

#163F7A is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.110 H 258.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#163F7A
RGBrgb(22, 63, 122)
HSLhsl(215, 69%, 28%)
HSVhsv(215, 82%, 48%)
CMYKcmyk(82%, 48.4%, 0%, 52.2%)
CIE-LABlab(27.10, 9.00, -37.65)
CIE-LCHlch(27.10, 38.71, 283.45°)
OKLaboklab(37.43% -0.0227 -0.1081)
OKLCHoklch(37.43% 0.11 258.1)
XYZxyz(5.6199, 5.1301, 19.1026)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F7A #7A5116
analogous
#16717A #163F7A #1F167A
triadic
#163F7A #7A163F #3F7A16
tetradic
#163F7A #7A1671 #7A5116 #167A1F
square
#163F7A #7A1671 #7A5116 #167A1F
split-complementary
#163F7A #7A1F16 #717A16
monochromatic
#050D1A #0D2446 #163F7A #1F5AAE #3176DA

Accessibility & contrast

On white

10.36
#163F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#163F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F7A
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F7A#FFFFFF#000000##FFFFFF
##163F7A1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#043C79
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #163f7a;
/* rgb */ color: rgb(22, 63, 122);
/* oklch */ color: oklch(37.4% 0.110 258.1);
Tailwind
colors: {
  custom: {
    50: '#6473a1',
    500: '#163f7a',
    950: '#000000',
  },
}
SCSS
$custom: #163f7a;
$custom-light: #6473a1;
$custom-dark: #000000;
JSON
{
  "hex": "#163f7a",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 122
  },
  "hsl": {
    "h": 215.4,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37428,
    "c": 0.11046,
    "h": 258.1
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#163F7A
secondary
#AF803D
accent
#A43CEC
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06080F
muted
#7A7B7E

Preview Lab

Preview with #163F7A

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

Preview Lab → · Contrast checker → · Palette generator →

#163F7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva