#16257C#16257C

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

Color values

HEX#16257C
RGBrgb(22, 37, 124)
HSLhsl(231, 70%, 29%)
HSVhsv(231, 82%, 49%)
CMYKcmyk(82.3%, 70.2%, 0%, 51.4%)
CIE-LABlab(19.84, 28.13, -50.74)
CIE-LCHlch(19.84, 58.01, 299.01°)
OKLaboklab(32.02% -0.0041 -0.1469)
OKLCHoklch(32.02% 0.147 268.4)
XYZxyz(4.6293, 2.9484, 19.3900)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16257C #7C6D16
analogous
#16587C #16257C #3A167C
triadic
#16257C #7C1625 #257C16
tetradic
#16257C #7C1658 #7C6D16 #167C3A
square
#16257C #7C1658 #7C6D16 #167C3A
split-complementary
#16257C #7C3A16 #587C16
monochromatic
#05081A #0D1548 #16257C #1F35B0 #324BDB

Accessibility & contrast

On white

13.21
#16257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#16257C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16257C
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16257C#FFFFFF#000000##FFFFFF
##16257C1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #16257c;
/* rgb */ color: rgb(22, 37, 124);
/* oklch */ color: oklch(32.0% 0.147 268.4);
Tailwind
colors: {
  custom: {
    50: '#675fa3',
    500: '#16257c',
    950: '#000000',
  },
}
SCSS
$custom: #16257c;
$custom-light: #675fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#16257c",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 231.176,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32019,
    "c": 0.14699,
    "h": 268.4
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#16257C
secondary
#B1A03D
accent
#D33BED
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16257C

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

Preview Lab → · Contrast checker → · Palette generator →

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