#164FA1#164FA1

#164FA1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.145 H 258.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#164FA1
RGBrgb(22, 79, 161)
HSLhsl(215, 76%, 36%)
HSVhsv(215, 86%, 63%)
CMYKcmyk(86.3%, 50.9%, 0%, 36.9%)
CIE-LABlab(34.67, 14.10, -49.40)
CIE-LCHlch(34.67, 51.38, 285.93°)
OKLaboklab(44.13% -0.0288 -0.1423)
OKLCHoklch(44.13% 0.145 258.5)
XYZxyz(9.5575, 8.3345, 34.8163)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164FA1 #A16816
analogous
#1694A1 #164FA1 #2316A1
triadic
#164FA1 #A1164F #4FA116
tetradic
#164FA1 #A11694 #A16816 #16A123
square
#164FA1 #A11694 #A16816 #16A123
split-complementary
#164FA1 #A12316 #94A116
monochromatic
#071A35 #0F356B #164FA1 #1D69D7 #4B8BE6

Accessibility & contrast

On white

7.87
#164FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#164FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164FA1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164FA1#FFFFFF#000000##FFFFFF
##164FA11.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A4
Deuteranopia (green-blind)
#004C9F
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #164fa1;
/* rgb */ color: rgb(22, 79, 161);
/* oklch */ color: oklch(44.1% 0.145 258.5);
Tailwind
colors: {
  custom: {
    50: '#6e7fbd',
    500: '#164fa1',
    950: '#000000',
  },
}
SCSS
$custom: #164fa1;
$custom-light: #6e7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#164fa1",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 215.396,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44126,
    "c": 0.14522,
    "h": 258.5
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#164FA1
secondary
#C8954B
accent
#A535F3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #164FA1

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

Preview Lab → · Contrast checker → · Palette generator →

#164FA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva