#164EC9#164EC9

#164EC9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.200 H 262.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#164EC9
RGBrgb(22, 78, 201)
HSLhsl(221, 80%, 44%)
HSVhsv(221, 89%, 79%)
CMYKcmyk(89.1%, 61.2%, 0%, 21.2%)
CIE-LABlab(37.54, 30.69, -68.33)
CIE-LCHlch(37.54, 74.91, 294.19°)
OKLaboklab(47.28% -0.0249 -0.1979)
OKLCHoklch(47.28% 0.2 262.8)
XYZxyz(13.5941, 9.8346, 56.4288)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164EC9 #C99116
analogous
#16A7C9 #164EC9 #3716C9
triadic
#164EC9 #C9164E #4EC916
tetradic
#164EC9 #C916A7 #C99116 #16C937
square
#164EC9 #C916A7 #C99116 #16C937
split-complementary
#164EC9 #C93716 #A7C916
monochromatic
#0A235B #103992 #164EC9 #336CE9 #6B94EF

Accessibility & contrast

On white

7.08
#164EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#164EC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164EC9
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164EC9#FFFFFF#000000##FFFFFF
##164EC91.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CD
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #164ec9;
/* rgb */ color: rgb(22, 78, 201);
/* oklch */ color: oklch(47.3% 0.200 262.8);
Tailwind
colors: {
  custom: {
    50: '#797fda',
    500: '#164ec9',
    950: '#000000',
  },
}
SCSS
$custom: #164ec9;
$custom-light: #797fda;
$custom-dark: #000000;
JSON
{
  "hex": "#164ec9",
  "rgb": {
    "r": 22,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 221.229,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47283,
    "c": 0.1995,
    "h": 262.8
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#164EC9
secondary
#D4B267
accent
#B931F7
background
#F8F7FD
surface
#EFEEFB
border
#CAC9D4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #164EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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