#164393#164393

#164393 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.141 H 261.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#164393
RGBrgb(22, 67, 147)
HSLhsl(218, 74%, 33%)
HSVhsv(218, 85%, 58%)
CMYKcmyk(85%, 54.4%, 0%, 42.4%)
CIE-LABlab(30.13, 16.58, -48.26)
CIE-LCHlch(30.13, 51.03, 288.96°)
OKLaboklab(40.33% -0.0222 -0.1392)
OKLCHoklch(40.33% 0.141 261)
XYZxyz(7.6026, 6.2905, 28.4116)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164393 #936616
analogous
#168193 #164393 #271693
triadic
#164393 #931643 #439316
tetradic
#164393 #931681 #936616 #169327
square
#164393 #931681 #936616 #169327
split-complementary
#164393 #932716 #819316
monochromatic
#061229 #0E2B5E #164393 #1E5BC8 #417BE3

Accessibility & contrast

On white

9.30
#164393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#164393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164393
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164393#FFFFFF#000000##FFFFFF
##1643931.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024D96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #164393;
/* rgb */ color: rgb(22, 67, 147);
/* oklch */ color: oklch(40.3% 0.141 261.0);
Tailwind
colors: {
  custom: {
    50: '#6b76b3',
    500: '#164393',
    950: '#000000',
  },
}
SCSS
$custom: #164393;
$custom-light: #6b76b3;
$custom-dark: #000000;
JSON
{
  "hex": "#164393",
  "rgb": {
    "r": 22,
    "g": 67,
    "b": 147
  },
  "hsl": {
    "h": 218.4,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40332,
    "c": 0.14099,
    "h": 261
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#164393
secondary
#C39442
accent
#AE37F1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #164393

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

Preview Lab → · Contrast checker → · Palette generator →

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