#16254E#16254E

#16254E is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.078 H 266.3°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#16254E
RGBrgb(22, 37, 78)
HSLhsl(224, 56%, 20%)
HSVhsv(224, 72%, 31%)
CMYKcmyk(71.8%, 52.6%, 0%, 69.4%)
CIE-LABlab(15.71, 9.32, -27.22)
CIE-LCHlch(15.71, 28.77, 288.90°)
OKLaboklab(27.67% -0.0051 -0.0779)
OKLCHoklch(27.67% 0.078 266.3)
XYZxyz(2.3671, 2.0435, 7.4759)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16254E #4E3F16
analogous
#16414E #16254E #23164E
triadic
#16254E #4E1625 #254E16
tetradic
#16254E #4E1641 #4E3F16 #164E23
square
#16254E #4E1641 #4E3F16 #164E23
split-complementary
#16254E #4E2316 #414E16
monochromatic
#070B18 #090E1E #16254E #233C7E #3152AD

Accessibility & contrast

On white

14.91
#16254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16254E
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16254E#FFFFFF#000000##FFFFFF
##16254E1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102A50
Deuteranopia (green-blind)
#05254D
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #16254e;
/* rgb */ color: rgb(22, 37, 78);
/* oklch */ color: oklch(27.7% 0.078 266.3);
Tailwind
colors: {
  custom: {
    50: '#5a5f80',
    500: '#16254e',
    950: '#000000',
  },
}
SCSS
$custom: #16254e;
$custom-light: #5a5f80;
$custom-dark: #000000;
JSON
{
  "hex": "#16254e",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 223.929,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2767,
    "c": 0.07808,
    "h": 266.3
  },
  "luminance": 0.02044
}

Semantic roles & 50–950 ramp

primary
#16254E
secondary
#85713A
accent
#B749DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #16254E

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

Preview Lab → · Contrast checker → · Palette generator →

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