#16227F#16227F

#16227F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.155 H 268.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#16227F
RGBrgb(22, 34, 127)
HSLhsl(233, 70%, 29%)
HSVhsv(233, 83%, 50%)
CMYKcmyk(82.7%, 73.2%, 0%, 50.2%)
CIE-LABlab(19.42, 31.28, -53.33)
CIE-LCHlch(19.42, 61.83, 300.39°)
OKLaboklab(31.81% -0.003 -0.1545)
OKLCHoklch(31.81% 0.155 268.9)
XYZxyz(4.7323, 2.8464, 20.3746)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16227F #7F7316
analogous
#16577F #16227F #3F167F
triadic
#16227F #7F1622 #227F16
tetradic
#16227F #7F1657 #7F7316 #167F3F
square
#16227F #7F1657 #7F7316 #167F3F
split-complementary
#16227F #7F3F16 #577F16
monochromatic
#05071A #0D144B #16227F #1F30B3 #3447DC

Accessibility & contrast

On white

13.38
#16227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#16227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16227F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16227F#FFFFFF#000000##FFFFFF
##16227F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #16227f;
/* rgb */ color: rgb(22, 34, 127);
/* oklch */ color: oklch(31.8% 0.155 268.9);
Tailwind
colors: {
  custom: {
    50: '#685da5',
    500: '#16227f',
    950: '#000000',
  },
}
SCSS
$custom: #16227f;
$custom-light: #685da5;
$custom-dark: #000000;
JSON
{
  "hex": "#16227f",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 233.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31811,
    "c": 0.15452,
    "h": 268.9
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#16227F
secondary
#B4A63D
accent
#D93BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16227F

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

Preview Lab → · Contrast checker → · Palette generator →

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