#163770#163770

#163770 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.106 H 260.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#163770
RGBrgb(22, 55, 112)
HSLhsl(218, 67%, 26%)
HSVhsv(218, 80%, 44%)
CMYKcmyk(80.4%, 50.9%, 0%, 56.1%)
CIE-LABlab(23.91, 10.46, -36.44)
CIE-LCHlch(23.91, 37.91, 286.02°)
OKLaboklab(34.74% -0.0175 -0.1047)
OKLCHoklch(34.74% 0.106 260.5)
XYZxyz(4.6206, 4.0723, 15.8686)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#163770 #704F16
analogous
#166470 #163770 #221670
triadic
#163770 #701637 #377016
tetradic
#163770 #701664 #704F16 #167022
square
#163770 #701664 #704F16 #167022
split-complementary
#163770 #702216 #647016
monochromatic
#050D1A #0C1E3D #163770 #2050A3 #2B69D5

Accessibility & contrast

On white

11.57
#163770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#163770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #163770
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##163770#FFFFFF#000000##FFFFFF
##1637701.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #163770;
/* rgb */ color: rgb(22, 55, 112);
/* oklch */ color: oklch(34.7% 0.106 260.5);
Tailwind
colors: {
  custom: {
    50: '#626d99',
    500: '#163770',
    950: '#000000',
  },
}
SCSS
$custom: #163770;
$custom-light: #626d99;
$custom-dark: #000000;
JSON
{
  "hex": "#163770",
  "rgb": {
    "r": 22,
    "g": 55,
    "b": 112
  },
  "hsl": {
    "h": 218,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34744,
    "c": 0.10616,
    "h": 260.5
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#163770
secondary
#A67F3C
accent
#AB3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #163770

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

Preview Lab → · Contrast checker → · Palette generator →

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