#16225F#16225F

#16225F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.109 H 269.6°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#16225F
RGBrgb(22, 34, 95)
HSLhsl(230, 62%, 23%)
HSVhsv(230, 77%, 37%)
CMYKcmyk(76.8%, 64.2%, 0%, 62.7%)
CIE-LABlab(16.21, 18.62, -37.85)
CIE-LCHlch(16.21, 42.18, 296.20°)
OKLaboklab(28.49% -0.0008 -0.1092)
OKLCHoklch(28.49% 0.109 269.6)
XYZxyz(2.9678, 2.1405, 11.0810)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16225F #5F5316
analogous
#16465F #16225F #2E165F
triadic
#16225F #5F1622 #225F16
tetradic
#16225F #5F1646 #5F5316 #165F2E
square
#16225F #5F1646 #5F5316 #165F2E
split-complementary
#16225F #5F2E16 #465F16
monochromatic
#060919 #0A102D #16225F #223491 #2D46C2

Accessibility & contrast

On white

14.70
#16225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#16225F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16225F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16225F#FFFFFF#000000##FFFFFF
##16225F1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #16225f;
/* rgb */ color: rgb(22, 34, 95);
/* oklch */ color: oklch(28.5% 0.109 269.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c8d',
    500: '#16225f',
    950: '#000000',
  },
}
SCSS
$custom: #16225f;
$custom-light: #5f5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#16225f",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 230.137,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28487,
    "c": 0.10922,
    "h": 269.6
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#16225F
secondary
#96873B
accent
#CB42E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16225F

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

Preview Lab → · Contrast checker → · Palette generator →

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