#16256C#16256C

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

Color values

HEX#16256C
RGBrgb(22, 37, 108)
HSLhsl(230, 66%, 25%)
HSVhsv(230, 80%, 42%)
CMYKcmyk(79.6%, 65.7%, 0%, 57.6%)
CIE-LABlab(18.26, 21.76, -43.03)
CIE-LCHlch(18.26, 48.22, 296.83°)
OKLaboklab(30.38% -0.0033 -0.1244)
OKLCHoklch(30.38% 0.124 268.5)
XYZxyz(3.6983, 2.5760, 14.4868)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16256C #6C5D16
analogous
#16506C #16256C #32166C
triadic
#16256C #6C1625 #256C16
tetradic
#16256C #6C1650 #6C5D16 #166C32
square
#16256C #6C1650 #6C5D16 #166C32
split-complementary
#16256C #6C3216 #506C16
monochromatic
#050919 #0C1439 #16256C #20369F #2B48D2

Accessibility & contrast

On white

13.86
#16256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16256C
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16256C#FFFFFF#000000##FFFFFF
##16256C1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #16256c;
/* rgb */ color: rgb(22, 37, 108);
/* oklch */ color: oklch(30.4% 0.124 268.5);
Tailwind
colors: {
  custom: {
    50: '#625f97',
    500: '#16256c',
    950: '#000000',
  },
}
SCSS
$custom: #16256c;
$custom-light: #625f97;
$custom-dark: #000000;
JSON
{
  "hex": "#16256c",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 229.535,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3038,
    "c": 0.12445,
    "h": 268.5
  },
  "luminance": 0.02576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16256C

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

Preview Lab → · Contrast checker → · Palette generator →

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