#16256E#16256E

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

Color values

HEX#16256E
RGBrgb(22, 37, 110)
HSLhsl(230, 67%, 26%)
HSVhsv(230, 80%, 43%)
CMYKcmyk(80%, 66.4%, 0%, 56.9%)
CIE-LABlab(18.45, 22.57, -44.02)
CIE-LCHlch(18.45, 49.47, 297.15°)
OKLaboklab(30.58% -0.0033 -0.1273)
OKLCHoklch(30.58% 0.127 268.5)
XYZxyz(3.8059, 2.6191, 15.0538)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16256E #6E5F16
analogous
#16516E #16256E #33166E
triadic
#16256E #6E1625 #256E16
tetradic
#16256E #6E1651 #6E5F16 #166E33
square
#16256E #6E1651 #6E5F16 #166E33
split-complementary
#16256E #6E3316 #516E16
monochromatic
#05091A #0C143B #16256E #2036A1 #2A47D4

Accessibility & contrast

On white

13.78
#16256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16256E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16256E#FFFFFF#000000##FFFFFF
##16256E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #16256e;
/* rgb */ color: rgb(22, 37, 110);
/* oklch */ color: oklch(30.6% 0.127 268.5);
Tailwind
colors: {
  custom: {
    50: '#635f98',
    500: '#16256e',
    950: '#000000',
  },
}
SCSS
$custom: #16256e;
$custom-light: #635f98;
$custom-dark: #000000;
JSON
{
  "hex": "#16256e",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 229.773,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30579,
    "c": 0.12734,
    "h": 268.5
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#16256E
secondary
#A4923C
accent
#CC3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #16256E

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

Preview Lab → · Contrast checker → · Palette generator →

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