#16257F#16257F

#16257F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.151 H 268.3°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#16257F
RGBrgb(22, 37, 127)
HSLhsl(231, 70%, 29%)
HSVhsv(231, 83%, 50%)
CMYKcmyk(82.7%, 70.9%, 0%, 50.2%)
CIE-LABlab(20.15, 29.30, -52.13)
CIE-LCHlch(20.15, 59.80, 299.33°)
OKLaboklab(32.34% -0.0044 -0.151)
OKLCHoklch(32.34% 0.151 268.3)
XYZxyz(4.8219, 3.0255, 20.4044)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16257F #7F7016
analogous
#165A7F #16257F #3C167F
triadic
#16257F #7F1625 #257F16
tetradic
#16257F #7F165A #7F7016 #167F3C
square
#16257F #7F165A #7F7016 #167F3C
split-complementary
#16257F #7F3C16 #5A7F16
monochromatic
#05081A #0D164B #16257F #1F34B3 #344CDC

Accessibility & contrast

On white

13.08
#16257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#16257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16257F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16257F#FFFFFF#000000##FFFFFF
##16257F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #16257f;
/* rgb */ color: rgb(22, 37, 127);
/* oklch */ color: oklch(32.3% 0.151 268.3);
Tailwind
colors: {
  custom: {
    50: '#685fa5',
    500: '#16257f',
    950: '#000000',
  },
}
SCSS
$custom: #16257f;
$custom-light: #685fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#16257f",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 231.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32337,
    "c": 0.15106,
    "h": 268.3
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#16257F
secondary
#B4A33D
accent
#D43BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16257F

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

Preview Lab → · Contrast checker → · Palette generator →

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