#16254A#16254A

#16254A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.071 H 265.4°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#16254A
RGBrgb(22, 37, 74)
HSLhsl(223, 54%, 19%)
HSVhsv(223, 70%, 29%)
CMYKcmyk(70.3%, 50%, 0%, 71%)
CIE-LABlab(15.42, 7.65, -24.95)
CIE-LCHlch(15.42, 26.10, 287.05°)
OKLaboklab(27.35% -0.0058 -0.0712)
OKLCHoklch(27.35% 0.071 265.4)
XYZxyz(2.2280, 1.9879, 6.7435)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16254A #4A3B16
analogous
#163F4A #16254A #21164A
triadic
#16254A #4A1625 #254A16
tetradic
#16254A #4A163F #4A3B16 #164A21
square
#16254A #4A163F #4A3B16 #164A21
split-complementary
#16254A #4A2116 #3F4A16
monochromatic
#070C18 #080D1B #16254A #243D79 #3254A8

Accessibility & contrast

On white

15.03
#16254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#16254A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16254A
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16254A#FFFFFF#000000##FFFFFF
##16254A1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13294B
Deuteranopia (green-blind)
#0B2449
Tritanopia (blue-blind)
#002D33
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #16254a;
/* rgb */ color: rgb(22, 37, 74);
/* oklch */ color: oklch(27.4% 0.071 265.4);
Tailwind
colors: {
  custom: {
    50: '#5a5f7d',
    500: '#16254a',
    950: '#000000',
  },
}
SCSS
$custom: #16254a;
$custom-light: #5a5f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#16254a",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 222.692,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27354,
    "c": 0.07148,
    "h": 265.4
  },
  "luminance": 0.01988
}

Semantic roles & 50–950 ramp

primary
#16254A
secondary
#826D3A
accent
#B34ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #16254A

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

Preview Lab → · Contrast checker → · Palette generator →

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