#164281#164281

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

Color values

HEX#164281
RGBrgb(22, 66, 129)
HSLhsl(215, 71%, 30%)
HSVhsv(215, 83%, 51%)
CMYKcmyk(82.9%, 48.8%, 0%, 49.4%)
CIE-LABlab(28.51, 9.83, -39.76)
CIE-LCHlch(28.51, 40.96, 283.89°)
OKLaboklab(38.67% -0.024 -0.1142)
OKLCHoklch(38.67% 0.117 258.1)
XYZxyz(6.2401, 5.6512, 21.5265)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164281 #815516
analogous
#167881 #164281 #1F1681
triadic
#164281 #811642 #428116
tetradic
#164281 #811678 #815516 #16811F
square
#164281 #811678 #815516 #16811F
split-complementary
#164281 #811F16 #788116
monochromatic
#040D1A #0D274D #164281 #1F5DB5 #357ADD

Accessibility & contrast

On white

9.86
#164281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#164281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164281
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164281#FFFFFF#000000##FFFFFF
##1642811.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #164281;
/* rgb */ color: rgb(22, 66, 129);
/* oklch */ color: oklch(38.7% 0.117 258.1);
Tailwind
colors: {
  custom: {
    50: '#6675a6',
    500: '#164281',
    950: '#000000',
  },
}
SCSS
$custom: #164281;
$custom-light: #6675a6;
$custom-dark: #000000;
JSON
{
  "hex": "#164281",
  "rgb": {
    "r": 22,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 215.327,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38673,
    "c": 0.11674,
    "h": 258.1
  },
  "luminance": 0.05652
}

Semantic roles & 50–950 ramp

primary
#164281
secondary
#B6843D
accent
#A43AEE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #164281

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

Preview Lab → · Contrast checker → · Palette generator →

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