#16256D#16256D

#16256D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.126 H 268.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#16256D
RGBrgb(22, 37, 109)
HSLhsl(230, 66%, 26%)
HSVhsv(230, 80%, 43%)
CMYKcmyk(79.8%, 66.1%, 0%, 57.3%)
CIE-LABlab(18.35, 22.17, -43.53)
CIE-LCHlch(18.35, 48.85, 296.99°)
OKLaboklab(30.48% -0.0033 -0.1259)
OKLCHoklch(30.48% 0.126 268.5)
XYZxyz(3.7518, 2.5974, 14.7687)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16256D #6D5E16
analogous
#16506D #16256D #32166D
triadic
#16256D #6D1625 #256D16
tetradic
#16256D #6D1650 #6D5E16 #166D32
square
#16256D #6D1650 #6D5E16 #166D32
split-complementary
#16256D #6D3216 #506D16
monochromatic
#050919 #0C143A #16256D #2036A0 #2B48D3

Accessibility & contrast

On white

13.82
#16256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#16256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16256D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16256D#FFFFFF#000000##FFFFFF
##16256D1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #16256d;
/* rgb */ color: rgb(22, 37, 109);
/* oklch */ color: oklch(30.5% 0.126 268.5);
Tailwind
colors: {
  custom: {
    50: '#635f98',
    500: '#16256d',
    950: '#000000',
  },
}
SCSS
$custom: #16256d;
$custom-light: #635f98;
$custom-dark: #000000;
JSON
{
  "hex": "#16256d",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 229.655,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30479,
    "c": 0.1259,
    "h": 268.5
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#16256D
secondary
#A3913C
accent
#CC3EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #16256D

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

Preview Lab → · Contrast checker → · Palette generator →

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