#16256A#16256A

#16256A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.122 H 268.5°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#16256A
RGBrgb(22, 37, 106)
HSLhsl(229, 66%, 25%)
HSVhsv(229, 79%, 42%)
CMYKcmyk(79.2%, 65.1%, 0%, 58.4%)
CIE-LABlab(18.07, 20.95, -42.04)
CIE-LCHlch(18.07, 46.97, 296.49°)
OKLaboklab(30.18% -0.0032 -0.1215)
OKLCHoklch(30.18% 0.122 268.5)
XYZxyz(3.5931, 2.5339, 13.9326)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16256A #6A5B16
analogous
#164F6A #16256A #31166A
triadic
#16256A #6A1625 #256A16
tetradic
#16256A #6A164F #6A5B16 #166A31
square
#16256A #6A164F #6A5B16 #166A31
split-complementary
#16256A #6A3116 #4F6A16
monochromatic
#050919 #0B1337 #16256A #21379D #2B48CF

Accessibility & contrast

On white

13.94
#16256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16256A
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16256A#FFFFFF#000000##FFFFFF
##16256A1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #16256a;
/* rgb */ color: rgb(22, 37, 106);
/* oklch */ color: oklch(30.2% 0.122 268.5);
Tailwind
colors: {
  custom: {
    50: '#625f95',
    500: '#16256a',
    950: '#000000',
  },
}
SCSS
$custom: #16256a;
$custom-light: #625f95;
$custom-dark: #000000;
JSON
{
  "hex": "#16256a",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 229.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30183,
    "c": 0.12153,
    "h": 268.5
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#16256A
secondary
#A08E3B
accent
#CA3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #16256A

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

Preview Lab → · Contrast checker → · Palette generator →

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