#16254B#16254B

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

Color values

HEX#16254B
RGBrgb(22, 37, 75)
HSLhsl(223, 55%, 19%)
HSVhsv(223, 71%, 29%)
CMYKcmyk(70.7%, 50.7%, 0%, 70.6%)
CIE-LABlab(15.50, 8.07, -25.52)
CIE-LCHlch(15.50, 26.77, 287.54°)
OKLaboklab(27.43% -0.0056 -0.0729)
OKLCHoklch(27.43% 0.073 265.6)
XYZxyz(2.2620, 2.0015, 6.9224)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16254B #4B3C16
analogous
#16404B #16254B #22164B
triadic
#16254B #4B1625 #254B16
tetradic
#16254B #4B1640 #4B3C16 #164B22
square
#16254B #4B1640 #4B3C16 #164B22
split-complementary
#16254B #4B2216 #404B16
monochromatic
#070C18 #080E1C #16254B #243C7A #3254AA

Accessibility & contrast

On white

15.00
#16254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16254B
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16254B#FFFFFF#000000##FFFFFF
##16254B1.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13294C
Deuteranopia (green-blind)
#09244A
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #16254b;
/* rgb */ color: rgb(22, 37, 75);
/* oklch */ color: oklch(27.4% 0.073 265.6);
Tailwind
colors: {
  custom: {
    50: '#5a5f7d',
    500: '#16254b',
    950: '#000000',
  },
}
SCSS
$custom: #16254b;
$custom-light: #5a5f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#16254b",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 223.019,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27432,
    "c": 0.07314,
    "h": 265.6
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

primary
#16254B
secondary
#836E3A
accent
#B44ADE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #16254B

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

Preview Lab → · Contrast checker → · Palette generator →

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