#16225E#16225E

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

Color values

HEX#16225E
RGBrgb(22, 34, 94)
HSLhsl(230, 62%, 23%)
HSVhsv(230, 77%, 37%)
CMYKcmyk(76.6%, 63.8%, 0%, 63.1%)
CIE-LABlab(16.12, 18.21, -37.33)
CIE-LCHlch(16.12, 41.53, 296.00°)
OKLaboklab(28.39% -0.0008 -0.1077)
OKLCHoklch(28.39% 0.108 269.6)
XYZxyz(2.9226, 2.1225, 10.8432)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16225E #5E5216
analogous
#16465E #16225E #2E165E
triadic
#16225E #5E1622 #225E16
tetradic
#16225E #5E1646 #5E5216 #165E2E
square
#16225E #5E1646 #5E5216 #165E2E
split-complementary
#16225E #5E2E16 #465E16
monochromatic
#060919 #0A102C #16225E #223490 #2D46C1

Accessibility & contrast

On white

14.74
#16225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#16225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16225E
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16225E#FFFFFF#000000##FFFFFF
##16225E1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16225e;
/* rgb */ color: rgb(22, 34, 94);
/* oklch */ color: oklch(28.4% 0.108 269.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c8c',
    500: '#16225e',
    950: '#000000',
  },
}
SCSS
$custom: #16225e;
$custom-light: #5f5c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#16225e",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 230,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28391,
    "c": 0.1077,
    "h": 269.6
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#16225E
secondary
#95863B
accent
#CA43E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16225E

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

Preview Lab → · Contrast checker → · Palette generator →

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