#16255B#16255B

#16255B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.099 H 267.9°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#16255B
RGBrgb(22, 37, 91)
HSLhsl(227, 61%, 22%)
HSVhsv(227, 76%, 36%)
CMYKcmyk(75.8%, 59.3%, 0%, 64.3%)
CIE-LABlab(16.74, 14.75, -34.32)
CIE-LCHlch(16.74, 37.35, 293.26°)
OKLaboklab(28.78% -0.0036 -0.0988)
OKLCHoklch(28.78% 0.099 267.9)
XYZxyz(2.8801, 2.2487, 10.1778)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16255B #5B4C16
analogous
#16475B #16255B #2A165B
triadic
#16255B #5B1625 #255B16
tetradic
#16255B #5B1647 #5B4C16 #165B2A
square
#16255B #5B1647 #5B4C16 #165B2A
split-complementary
#16255B #5B2A16 #475B16
monochromatic
#060A19 #0A112A #16255B #22398C #2E4DBE

Accessibility & contrast

On white

14.48
#16255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16255B
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16255B#FFFFFF#000000##FFFFFF
##16255B1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16255b;
/* rgb */ color: rgb(22, 37, 91);
/* oklch */ color: oklch(28.8% 0.099 267.9);
Tailwind
colors: {
  custom: {
    50: '#5e5f8a',
    500: '#16255b',
    950: '#000000',
  },
}
SCSS
$custom: #16255b;
$custom-light: #5e5f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#16255b",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 226.957,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28776,
    "c": 0.09887,
    "h": 267.9
  },
  "luminance": 0.02249
}

Semantic roles & 50–950 ramp

primary
#16255B
secondary
#927F3B
accent
#C144E4
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16255B

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

Preview Lab → · Contrast checker → · Palette generator →

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