#164282#164282

#164282 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.118 H 258.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#164282
RGBrgb(22, 66, 130)
HSLhsl(216, 71%, 30%)
HSVhsv(216, 83%, 51%)
CMYKcmyk(83.1%, 49.2%, 0%, 49%)
CIE-LABlab(28.58, 10.25, -40.27)
CIE-LCHlch(28.58, 41.56, 284.28°)
OKLaboklab(38.75% -0.0238 -0.1157)
OKLCHoklch(38.75% 0.118 258.4)
XYZxyz(6.3069, 5.6779, 21.8783)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164282 #825616
analogous
#167882 #164282 #201682
triadic
#164282 #821642 #428216
tetradic
#164282 #821678 #825616 #168220
square
#164282 #821678 #825616 #168220
split-complementary
#164282 #822016 #788216
monochromatic
#040D1A #0D274E #164282 #1F5DB6 #357ADD

Accessibility & contrast

On white

9.83
#164282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#164282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164282
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164282#FFFFFF#000000##FFFFFF
##1642821.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4984
Deuteranopia (green-blind)
#003F81
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #164282;
/* rgb */ color: rgb(22, 66, 130);
/* oklch */ color: oklch(38.7% 0.118 258.4);
Tailwind
colors: {
  custom: {
    50: '#6675a7',
    500: '#164282',
    950: '#000000',
  },
}
SCSS
$custom: #164282;
$custom-light: #6675a7;
$custom-dark: #000000;
JSON
{
  "hex": "#164282",
  "rgb": {
    "r": 22,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 215.556,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38749,
    "c": 0.11818,
    "h": 258.4
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#164282
secondary
#B7853D
accent
#A53AEE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #164282

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

Preview Lab → · Contrast checker → · Palette generator →

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