#16255A#16255A

#16255A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.097 H 267.8°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#16255A
RGBrgb(22, 37, 90)
HSLhsl(227, 61%, 22%)
HSVhsv(227, 76%, 35%)
CMYKcmyk(75.6%, 58.9%, 0%, 64.7%)
CIE-LABlab(16.66, 14.34, -33.78)
CIE-LCHlch(16.66, 36.70, 292.99°)
OKLaboklab(28.69% -0.0037 -0.0972)
OKLCHoklch(28.69% 0.097 267.8)
XYZxyz(2.8373, 2.2316, 9.9521)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16255A #5A4B16
analogous
#16475A #16255A #29165A
triadic
#16255A #5A1625 #255A16
tetradic
#16255A #5A1647 #5A4B16 #165A29
square
#16255A #5A1647 #5A4B16 #165A29
split-complementary
#16255A #5A2916 #475A16
monochromatic
#060A19 #0A1129 #16255A #22398B #2E4DBC

Accessibility & contrast

On white

14.52
#16255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#16255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16255A
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16255A#FFFFFF#000000##FFFFFF
##16255A1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16255a;
/* rgb */ color: rgb(22, 37, 90);
/* oklch */ color: oklch(28.7% 0.097 267.8);
Tailwind
colors: {
  custom: {
    50: '#5e5f89',
    500: '#16255a',
    950: '#000000',
  },
}
SCSS
$custom: #16255a;
$custom-light: #5e5f89;
$custom-dark: #000000;
JSON
{
  "hex": "#16255a",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 226.765,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28687,
    "c": 0.09731,
    "h": 267.8
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#16255A
secondary
#917E3B
accent
#C144E4
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #16255A

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

Preview Lab → · Contrast checker → · Palette generator →

#16255A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva