#16227A#16227A

#16227A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.148 H 269.1°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#16227A
RGBrgb(22, 34, 122)
HSLhsl(233, 69%, 28%)
HSVhsv(233, 82%, 48%)
CMYKcmyk(82%, 72.1%, 0%, 52.2%)
CIE-LABlab(18.88, 29.37, -51.03)
CIE-LCHlch(18.88, 58.88, 299.92°)
OKLaboklab(31.26% -0.0024 -0.1478)
OKLCHoklch(31.26% 0.148 269.1)
XYZxyz(4.4145, 2.7193, 18.7008)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16227A #7A6E16
analogous
#16547A #16227A #3C167A
triadic
#16227A #7A1622 #227A16
tetradic
#16227A #7A1654 #7A6E16 #167A3C
square
#16227A #7A1654 #7A6E16 #167A3C
split-complementary
#16227A #7A3C16 #547A16
monochromatic
#05071A #0D1446 #16227A #1F30AE #3145DA

Accessibility & contrast

On white

13.60
#16227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#16227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16227A
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16227A#FFFFFF#000000##FFFFFF
##16227A1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002978
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #16227a;
/* rgb */ color: rgb(22, 34, 122);
/* oklch */ color: oklch(31.3% 0.148 269.1);
Tailwind
colors: {
  custom: {
    50: '#675da1',
    500: '#16227a',
    950: '#000000',
  },
}
SCSS
$custom: #16227a;
$custom-light: #675da1;
$custom-dark: #000000;
JSON
{
  "hex": "#16227a",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 232.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31264,
    "c": 0.14781,
    "h": 269.1
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#16227A
secondary
#AFA13D
accent
#D73CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16227A

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

Preview Lab → · Contrast checker → · Palette generator →

#16227A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva