#16254F#16254F

#16254F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.080 H 266.5°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#16254F
RGBrgb(22, 37, 79)
HSLhsl(224, 56%, 20%)
HSVhsv(224, 72%, 31%)
CMYKcmyk(72.2%, 53.2%, 0%, 69%)
CIE-LABlab(15.79, 9.73, -27.78)
CIE-LCHlch(15.79, 29.43, 289.31°)
OKLaboklab(27.75% -0.0049 -0.0796)
OKLCHoklch(27.75% 0.08 266.5)
XYZxyz(2.4032, 2.0580, 7.6662)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16254F #4F4016
analogous
#16414F #16254F #24164F
triadic
#16254F #4F1625 #254F16
tetradic
#16254F #4F1641 #4F4016 #164F24
square
#16254F #4F1641 #4F4016 #164F24
split-complementary
#16254F #4F2416 #414F16
monochromatic
#070B18 #090F1F #16254F #233B7F #3152AF

Accessibility & contrast

On white

14.88
#16254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16254F
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16254F#FFFFFF#000000##FFFFFF
##16254F1.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A51
Deuteranopia (green-blind)
#03254E
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #16254f;
/* rgb */ color: rgb(22, 37, 79);
/* oklch */ color: oklch(27.8% 0.080 266.5);
Tailwind
colors: {
  custom: {
    50: '#5b5f81',
    500: '#16254f',
    950: '#000000',
  },
}
SCSS
$custom: #16254f;
$custom-light: #5b5f81;
$custom-dark: #000000;
JSON
{
  "hex": "#16254f",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 224.211,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27751,
    "c": 0.07971,
    "h": 266.5
  },
  "luminance": 0.02058
}

Semantic roles & 50–950 ramp

primary
#16254F
secondary
#86723A
accent
#B848E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #16254F

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

Preview Lab → · Contrast checker → · Palette generator →

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