#16255D#16255D

#16255D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.102 H 268.0°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#16255D
RGBrgb(22, 37, 93)
HSLhsl(227, 62%, 23%)
HSVhsv(227, 76%, 36%)
CMYKcmyk(76.3%, 60.2%, 0%, 63.5%)
CIE-LABlab(16.91, 15.59, -35.37)
CIE-LCHlch(16.91, 38.65, 293.78°)
OKLaboklab(28.96% -0.0035 -0.1019)
OKLCHoklch(28.96% 0.102 268)
XYZxyz(2.9675, 2.2837, 10.6382)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16255D #5D4E16
analogous
#16485D #16255D #2B165D
triadic
#16255D #5D1625 #255D16
tetradic
#16255D #5D1648 #5D4E16 #165D2B
square
#16255D #5D1648 #5D4E16 #165D2B
split-complementary
#16255D #5D2B16 #485D16
monochromatic
#060A19 #0A112C #16255D #22398E #2D4CC0

Accessibility & contrast

On white

14.42
#16255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#16255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16255D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16255D#FFFFFF#000000##FFFFFF
##16255D1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16255d;
/* rgb */ color: rgb(22, 37, 93);
/* oklch */ color: oklch(29.0% 0.102 268.0);
Tailwind
colors: {
  custom: {
    50: '#5e5f8b',
    500: '#16255d',
    950: '#000000',
  },
}
SCSS
$custom: #16255d;
$custom-light: #5e5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#16255d",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 227.324,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28956,
    "c": 0.10197,
    "h": 268
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#16255D
secondary
#94813B
accent
#C343E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16255D

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

Preview Lab → · Contrast checker → · Palette generator →

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