#16266B#16266B

#16266B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.122 H 268.1°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#16266B
RGBrgb(22, 38, 107)
HSLhsl(229, 66%, 25%)
HSVhsv(229, 79%, 42%)
CMYKcmyk(79.4%, 64.5%, 0%, 58%)
CIE-LABlab(18.44, 20.64, -42.08)
CIE-LCHlch(18.44, 46.87, 296.13°)
OKLaboklab(30.49% -0.004 -0.1216)
OKLCHoklch(30.49% 0.122 268.1)
XYZxyz(3.6769, 2.6179, 14.2186)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16266B #6B5B16
analogous
#16506B #16266B #31166B
triadic
#16266B #6B1626 #266B16
tetradic
#16266B #6B1650 #6B5B16 #166B31
square
#16266B #6B1650 #6B5B16 #166B31
split-complementary
#16266B #6B3116 #506B16
monochromatic
#050919 #0C1438 #16266B #20389E #2B4AD1

Accessibility & contrast

On white

13.78
#16266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#16266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16266B
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16266B#FFFFFF#000000##FFFFFF
##16266B1.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)
#00316D
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #16266b;
/* rgb */ color: rgb(22, 38, 107);
/* oklch */ color: oklch(30.5% 0.122 268.1);
Tailwind
colors: {
  custom: {
    50: '#626096',
    500: '#16266b',
    950: '#000000',
  },
}
SCSS
$custom: #16266b;
$custom-light: #626096;
$custom-dark: #000000;
JSON
{
  "hex": "#16266b",
  "rgb": {
    "r": 22,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 228.706,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30488,
    "c": 0.12167,
    "h": 268.1
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#16266B
secondary
#A18E3B
accent
#C93FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #16266B

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

Preview Lab → · Contrast checker → · Palette generator →

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