#163F7C#163F7C

#163F7C is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.113 H 258.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#163F7C
RGBrgb(22, 63, 124)
HSLhsl(216, 70%, 29%)
HSVhsv(216, 82%, 49%)
CMYKcmyk(82.3%, 49.2%, 0%, 51.4%)
CIE-LABlab(27.24, 9.84, -38.68)
CIE-LCHlch(27.24, 39.91, 284.27°)
OKLaboklab(37.58% -0.0224 -0.1111)
OKLCHoklch(37.58% 0.113 258.6)
XYZxyz(5.7451, 5.1801, 19.7619)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163F7C #7C5316
analogous
#16727C #163F7C #20167C
triadic
#163F7C #7C163F #3F7C16
tetradic
#163F7C #7C1672 #7C5316 #167C20
square
#163F7C #7C1672 #7C5316 #167C20
split-complementary
#163F7C #7C2016 #727C16
monochromatic
#050D1A #0D2548 #163F7C #1F59B0 #3276DB

Accessibility & contrast

On white

10.31
#163F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#163F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163F7C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163F7C#FFFFFF#000000##FFFFFF
##163F7C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #163f7c;
/* rgb */ color: rgb(22, 63, 124);
/* oklch */ color: oklch(37.6% 0.113 258.6);
Tailwind
colors: {
  custom: {
    50: '#6573a2',
    500: '#163f7c',
    950: '#000000',
  },
}
SCSS
$custom: #163f7c;
$custom-light: #6573a2;
$custom-dark: #000000;
JSON
{
  "hex": "#163f7c",
  "rgb": {
    "r": 22,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 215.882,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3758,
    "c": 0.11336,
    "h": 258.6
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#163F7C
secondary
#B1823D
accent
#A53BED
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #163F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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