#16254D#16254D

#16254D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.076 H 266.1°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#16254D
RGBrgb(22, 37, 77)
HSLhsl(224, 56%, 19%)
HSVhsv(224, 71%, 30%)
CMYKcmyk(71.4%, 51.9%, 0%, 69.8%)
CIE-LABlab(15.64, 8.90, -26.65)
CIE-LCHlch(15.64, 28.10, 288.46°)
OKLaboklab(27.59% -0.0052 -0.0763)
OKLCHoklch(27.59% 0.076 266.1)
XYZxyz(2.3315, 2.0293, 7.2886)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16254D #4D3E16
analogous
#16414D #16254D #22164D
triadic
#16254D #4D1625 #254D16
tetradic
#16254D #4D1641 #4D3E16 #164D22
square
#16254D #4D1641 #4D3E16 #164D22
split-complementary
#16254D #4D2216 #414D16
monochromatic
#070B18 #080E1D #16254D #243C7D #3153AC

Accessibility & contrast

On white

14.94
#16254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#16254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16254D
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16254D#FFFFFF#000000##FFFFFF
##16254D1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A4E
Deuteranopia (green-blind)
#06254C
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #16254d;
/* rgb */ color: rgb(22, 37, 77);
/* oklch */ color: oklch(27.6% 0.076 266.1);
Tailwind
colors: {
  custom: {
    50: '#5a5f7f',
    500: '#16254d',
    950: '#000000',
  },
}
SCSS
$custom: #16254d;
$custom-light: #5a5f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#16254d",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 223.636,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2759,
    "c": 0.07644,
    "h": 266.1
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#16254D
secondary
#85703A
accent
#B649DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #16254D

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

Preview Lab → · Contrast checker → · Palette generator →

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