#164287#164287

#164287 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.125 H 259.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#164287
RGBrgb(22, 66, 135)
HSLhsl(217, 72%, 31%)
HSVhsv(217, 84%, 53%)
CMYKcmyk(83.7%, 51.1%, 0%, 47.1%)
CIE-LABlab(28.94, 12.32, -42.80)
CIE-LCHlch(28.94, 44.54, 286.06°)
OKLaboklab(39.14% -0.023 -0.1232)
OKLCHoklch(39.14% 0.125 259.4)
XYZxyz(6.6507, 5.8155, 23.6889)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164287 #875B16
analogous
#167A87 #164287 #221687
triadic
#164287 #871642 #428716
tetradic
#164287 #87167A #875B16 #168722
square
#164287 #87167A #875B16 #168722
split-complementary
#164287 #872216 #7A8716
monochromatic
#050F1E #0D2852 #164287 #1F5CBC #3979DF

Accessibility & contrast

On white

9.71
#164287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#164287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164287
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164287#FFFFFF#000000##FFFFFF
##1642871.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #164287;
/* rgb */ color: rgb(22, 66, 135);
/* oklch */ color: oklch(39.1% 0.125 259.4);
Tailwind
colors: {
  custom: {
    50: '#6875aa',
    500: '#164287',
    950: '#000000',
  },
}
SCSS
$custom: #164287;
$custom-light: #6875aa;
$custom-dark: #000000;
JSON
{
  "hex": "#164287",
  "rgb": {
    "r": 22,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 216.637,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39137,
    "c": 0.12532,
    "h": 259.4
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#164287
secondary
#BB8A3E
accent
#A839EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #164287

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

Preview Lab → · Contrast checker → · Palette generator →

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