#16257B#16257B

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

Color values

HEX#16257B
RGBrgb(22, 37, 123)
HSLhsl(231, 70%, 28%)
HSVhsv(231, 82%, 48%)
CMYKcmyk(82.1%, 69.9%, 0%, 51.8%)
CIE-LABlab(19.73, 27.74, -50.27)
CIE-LCHlch(19.73, 57.41, 298.89°)
OKLaboklab(31.91% -0.0041 -0.1456)
OKLCHoklch(31.91% 0.146 268.4)
XYZxyz(4.5664, 2.9232, 19.0586)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16257B #7B6C16
analogous
#16577B #16257B #39167B
triadic
#16257B #7B1625 #257B16
tetradic
#16257B #7B1657 #7B6C16 #167B39
square
#16257B #7B1657 #7B6C16 #167B39
split-complementary
#16257B #7B3916 #577B16
monochromatic
#05081A #0D1547 #16257B #1F35AF #314ADA

Accessibility & contrast

On white

13.25
#16257B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16257B
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16257B#FFFFFF#000000##FFFFFF
##16257B1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #16257b;
/* rgb */ color: rgb(22, 37, 123);
/* oklch */ color: oklch(31.9% 0.146 268.4);
Tailwind
colors: {
  custom: {
    50: '#675fa2',
    500: '#16257b',
    950: '#000000',
  },
}
SCSS
$custom: #16257b;
$custom-light: #675fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#16257b",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 123
  },
  "hsl": {
    "h": 231.089,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31913,
    "c": 0.14562,
    "h": 268.4
  },
  "luminance": 0.02924
}

Semantic roles & 50–950 ramp

primary
#16257B
secondary
#B09F3D
accent
#D23BEC
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16257B

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

Preview Lab → · Contrast checker → · Palette generator →

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