#16256B#16256B

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

Color values

HEX#16256B
RGBrgb(22, 37, 107)
HSLhsl(229, 66%, 25%)
HSVhsv(229, 79%, 42%)
CMYKcmyk(79.4%, 65.4%, 0%, 58%)
CIE-LABlab(18.16, 21.36, -42.54)
CIE-LCHlch(18.16, 47.60, 296.66°)
OKLaboklab(30.28% -0.0033 -0.1229)
OKLCHoklch(30.28% 0.123 268.5)
XYZxyz(3.6454, 2.5548, 14.2081)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16256B #6B5C16
analogous
#164F6B #16256B #32166B
triadic
#16256B #6B1625 #256B16
tetradic
#16256B #6B164F #6B5C16 #166B32
square
#16256B #6B164F #6B5C16 #166B32
split-complementary
#16256B #6B3216 #4F6B16
monochromatic
#050919 #0C1338 #16256B #20379E #2B48D1

Accessibility & contrast

On white

13.90
#16256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#16256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16256B
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16256B#FFFFFF#000000##FFFFFF
##16256B1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #16256b;
/* rgb */ color: rgb(22, 37, 107);
/* oklch */ color: oklch(30.3% 0.123 268.5);
Tailwind
colors: {
  custom: {
    50: '#625f96',
    500: '#16256b',
    950: '#000000',
  },
}
SCSS
$custom: #16256b;
$custom-light: #625f96;
$custom-dark: #000000;
JSON
{
  "hex": "#16256b",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 229.412,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30282,
    "c": 0.12299,
    "h": 268.5
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#16256B
secondary
#A18F3B
accent
#CB3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #16256B

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

Preview Lab → · Contrast checker → · Palette generator →

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