#164EB3#164EB3

#164EB3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.171 H 261.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#164EB3
RGBrgb(22, 78, 179)
HSLhsl(219, 78%, 39%)
HSVhsv(219, 88%, 70%)
CMYKcmyk(87.7%, 56.4%, 0%, 29.8%)
CIE-LABlab(35.74, 22.04, -58.39)
CIE-LCHlch(35.74, 62.41, 290.68°)
OKLaboklab(45.37% -0.0261 -0.1688)
OKLCHoklch(45.37% 0.171 261.2)
XYZxyz(11.1890, 8.8726, 43.7619)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164EB3 #B37B16
analogous
#169CB3 #164EB3 #2D16B3
triadic
#164EB3 #B3164E #4EB316
tetradic
#164EB3 #B3169C #B37B16 #16B32D
square
#164EB3 #B3169C #B37B16 #16B32D
split-complementary
#164EB3 #B32D16 #9CB316
monochromatic
#091F46 #0F367C #164EB3 #2267E4 #598DEB

Accessibility & contrast

On white

7.57
#164EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#164EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164EB3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164EB3#FFFFFF#000000##FFFFFF
##164EB31.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #164eb3;
/* rgb */ color: rgb(22, 78, 179);
/* oklch */ color: oklch(45.4% 0.171 261.2);
Tailwind
colors: {
  custom: {
    50: '#737ecb',
    500: '#164eb3',
    950: '#000000',
  },
}
SCSS
$custom: #164eb3;
$custom-light: #737ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#164eb3",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 218.599,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.1708,
    "h": 261.2
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#164EB3
secondary
#CEA357
accent
#B033F5
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #164EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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