#164399#164399

#164399 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.149 H 261.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#164399
RGBrgb(22, 67, 153)
HSLhsl(219, 75%, 34%)
HSVhsv(219, 86%, 60%)
CMYKcmyk(85.6%, 56.2%, 0%, 40%)
CIE-LABlab(30.60, 19.03, -51.16)
CIE-LCHlch(30.60, 54.59, 290.41°)
OKLaboklab(40.83% -0.0216 -0.1478)
OKLCHoklch(40.83% 0.149 261.7)
XYZxyz(8.0857, 6.4838, 30.9561)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164399 #996C16
analogous
#168599 #164399 #2A1699
triadic
#164399 #991643 #439916
tetradic
#164399 #991685 #996C16 #16992A
square
#164399 #991685 #996C16 #16992A
split-complementary
#164399 #992A16 #859916
monochromatic
#07142E #0E2C63 #164399 #1E5ACF #457CE4

Accessibility & contrast

On white

9.14
#164399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#164399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164399
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164399#FFFFFF#000000##FFFFFF
##1643991.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #164399;
/* rgb */ color: rgb(22, 67, 153);
/* oklch */ color: oklch(40.8% 0.149 261.7);
Tailwind
colors: {
  custom: {
    50: '#6c76b8',
    500: '#164399',
    950: '#000000',
  },
}
SCSS
$custom: #164399;
$custom-light: #6c76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#164399",
  "rgb": {
    "r": 22,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 219.389,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40834,
    "c": 0.14933,
    "h": 261.7
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#164399
secondary
#C59946
accent
#B136F1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #164399

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

Preview Lab → · Contrast checker → · Palette generator →

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