#16255F#16255F

#16255F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.105 H 268.2°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#16255F
RGBrgb(22, 37, 95)
HSLhsl(228, 62%, 23%)
HSVhsv(228, 77%, 37%)
CMYKcmyk(76.8%, 61.1%, 0%, 62.7%)
CIE-LABlab(17.08, 16.42, -36.42)
CIE-LCHlch(17.08, 39.95, 294.27°)
OKLaboklab(29.14% -0.0034 -0.105)
OKLCHoklch(29.14% 0.105 268.2)
XYZxyz(3.0573, 2.3196, 11.1109)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16255F #5F5016
analogous
#16495F #16255F #2B165F
triadic
#16255F #5F1625 #255F16
tetradic
#16255F #5F1649 #5F5016 #165F2B
square
#16255F #5F1649 #5F5016 #165F2B
split-complementary
#16255F #5F2B16 #495F16
monochromatic
#060A19 #0A122D #16255F #223891 #2D4CC2

Accessibility & contrast

On white

14.34
#16255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16255F
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16255F#FFFFFF#000000##FFFFFF
##16255F1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16255f;
/* rgb */ color: rgb(22, 37, 95);
/* oklch */ color: oklch(29.1% 0.105 268.2);
Tailwind
colors: {
  custom: {
    50: '#5f5f8d',
    500: '#16255f',
    950: '#000000',
  },
}
SCSS
$custom: #16255f;
$custom-light: #5f5f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#16255f",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 227.671,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29139,
    "c": 0.10504,
    "h": 268.2
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#16255F
secondary
#96833B
accent
#C442E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16255F

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

Preview Lab → · Contrast checker → · Palette generator →

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