#16255C#16255C

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

Color values

HEX#16255C
RGBrgb(22, 37, 92)
HSLhsl(227, 61%, 22%)
HSVhsv(227, 76%, 36%)
CMYKcmyk(76.1%, 59.8%, 0%, 63.9%)
CIE-LABlab(16.83, 15.17, -34.85)
CIE-LCHlch(16.83, 38.00, 293.52°)
OKLaboklab(28.87% -0.0035 -0.1004)
OKLCHoklch(28.87% 0.1 268)
XYZxyz(2.9235, 2.2661, 10.4065)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16255C #5C4D16
analogous
#16485C #16255C #2A165C
triadic
#16255C #5C1625 #255C16
tetradic
#16255C #5C1648 #5C4D16 #165C2A
square
#16255C #5C1648 #5C4D16 #165C2A
split-complementary
#16255C #5C2A16 #485C16
monochromatic
#060A19 #0A112B #16255C #22398D #2E4DBF

Accessibility & contrast

On white

14.45
#16255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16255C
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16255C#FFFFFF#000000##FFFFFF
##16255C1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16255c;
/* rgb */ color: rgb(22, 37, 92);
/* oklch */ color: oklch(28.9% 0.100 268.0);
Tailwind
colors: {
  custom: {
    50: '#5e5f8b',
    500: '#16255c',
    950: '#000000',
  },
}
SCSS
$custom: #16255c;
$custom-light: #5e5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#16255c",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 227.143,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28866,
    "c": 0.10042,
    "h": 268
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16255C

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

Preview Lab → · Contrast checker → · Palette generator →

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