#16236B#16236B

#16236B is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.9% C 0.126 H 269.1°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#16236B
RGBrgb(22, 35, 107)
HSLhsl(231, 66%, 25%)
HSVhsv(231, 79%, 42%)
CMYKcmyk(79.4%, 67.3%, 0%, 58%)
CIE-LABlab(17.62, 22.78, -43.44)
CIE-LCHlch(17.62, 49.05, 297.68°)
OKLaboklab(29.88% -0.0019 -0.1256)
OKLCHoklch(29.88% 0.126 269.1)
XYZxyz(3.5848, 2.4338, 14.1879)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16236B #6B5E16
analogous
#164D6B #16236B #34166B
triadic
#16236B #6B1623 #236B16
tetradic
#16236B #6B164D #6B5E16 #166B34
square
#16236B #6B164D #6B5E16 #166B34
split-complementary
#16236B #6B3416 #4D6B16
monochromatic
#050819 #0C1238 #16236B #20349E #2B44D1

Accessibility & contrast

On white

14.12
#16236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#16236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16236B
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16236B#FFFFFF#000000##FFFFFF
##16236B1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#00276A
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #16236b;
/* rgb */ color: rgb(22, 35, 107);
/* oklch */ color: oklch(29.9% 0.126 269.1);
Tailwind
colors: {
  custom: {
    50: '#625d96',
    500: '#16236b',
    950: '#000000',
  },
}
SCSS
$custom: #16236b;
$custom-light: #625d96;
$custom-dark: #000000;
JSON
{
  "hex": "#16236b",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 230.824,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29877,
    "c": 0.12561,
    "h": 269.1
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#16236B
secondary
#A1923B
accent
#CF3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #16236B

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

Preview Lab → · Contrast checker → · Palette generator →

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