#16257A#16257A

#16257A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.144 H 268.4°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#16257A
RGBrgb(22, 37, 122)
HSLhsl(231, 69%, 28%)
HSVhsv(231, 82%, 48%)
CMYKcmyk(82%, 69.7%, 0%, 52.2%)
CIE-LABlab(19.63, 27.35, -49.80)
CIE-LCHlch(19.63, 56.81, 298.78°)
OKLaboklab(31.81% -0.004 -0.1442)
OKLCHoklch(31.81% 0.144 268.4)
XYZxyz(4.5041, 2.8983, 18.7306)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16257A #7A6B16
analogous
#16577A #16257A #39167A
triadic
#16257A #7A1625 #257A16
tetradic
#16257A #7A1657 #7A6B16 #167A39
square
#16257A #7A1657 #7A6B16 #167A39
split-complementary
#16257A #7A3916 #577A16
monochromatic
#05081A #0D1546 #16257A #1F35AE #314ADA

Accessibility & contrast

On white

13.29
#16257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#16257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16257A
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16257A#FFFFFF#000000##FFFFFF
##16257A1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #16257a;
/* rgb */ color: rgb(22, 37, 122);
/* oklch */ color: oklch(31.8% 0.144 268.4);
Tailwind
colors: {
  custom: {
    50: '#665fa1',
    500: '#16257a',
    950: '#000000',
  },
}
SCSS
$custom: #16257a;
$custom-light: #665fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#16257a",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 231,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31808,
    "c": 0.14425,
    "h": 268.4
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#16257A
secondary
#AF9E3D
accent
#D23CEC
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16257A

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

Preview Lab → · Contrast checker → · Palette generator →

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