#16254C#16254C

#16254C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.075 H 265.9°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#16254C
RGBrgb(22, 37, 76)
HSLhsl(223, 55%, 19%)
HSVhsv(223, 71%, 30%)
CMYKcmyk(71.1%, 51.3%, 0%, 70.2%)
CIE-LABlab(15.57, 8.48, -26.09)
CIE-LCHlch(15.57, 27.43, 288.01°)
OKLaboklab(27.51% -0.0054 -0.0746)
OKLCHoklch(27.51% 0.075 265.9)
XYZxyz(2.2965, 2.0153, 7.1040)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16254C #4C3D16
analogous
#16404C #16254C #22164C
triadic
#16254C #4C1625 #254C16
tetradic
#16254C #4C1640 #4C3D16 #164C22
square
#16254C #4C1640 #4C3D16 #164C22
split-complementary
#16254C #4C2216 #404C16
monochromatic
#070C18 #080E1D #16254C #243C7B #3153AB

Accessibility & contrast

On white

14.97
#16254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16254C
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16254C#FFFFFF#000000##FFFFFF
##16254C1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12294D
Deuteranopia (green-blind)
#08254B
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #16254c;
/* rgb */ color: rgb(22, 37, 76);
/* oklch */ color: oklch(27.5% 0.075 265.9);
Tailwind
colors: {
  custom: {
    50: '#5a5f7e',
    500: '#16254c',
    950: '#000000',
  },
}
SCSS
$custom: #16254c;
$custom-light: #5a5f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#16254c",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 223.333,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2751,
    "c": 0.0748,
    "h": 265.9
  },
  "luminance": 0.02016
}

Semantic roles & 50–950 ramp

primary
#16254C
secondary
#846F3A
accent
#B549DE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #16254C

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

Preview Lab → · Contrast checker → · Palette generator →

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