#16237B#16237B

#16237B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.148 H 268.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#16237B
RGBrgb(22, 35, 123)
HSLhsl(232, 70%, 28%)
HSVhsv(232, 82%, 48%)
CMYKcmyk(82.1%, 71.5%, 0%, 51.8%)
CIE-LABlab(19.23, 29.09, -51.09)
CIE-LCHlch(19.23, 58.79, 299.66°)
OKLaboklab(31.55% -0.003 -0.148)
OKLCHoklch(31.55% 0.148 268.8)
XYZxyz(4.5058, 2.8022, 19.0385)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16237B #7B6E16
analogous
#16557B #16237B #3B167B
triadic
#16237B #7B1623 #237B16
tetradic
#16237B #7B1655 #7B6E16 #167B3B
square
#16237B #7B1655 #7B6E16 #167B3B
split-complementary
#16237B #7B3B16 #557B16
monochromatic
#05071A #0D1447 #16237B #1F32AF #3147DA

Accessibility & contrast

On white

13.46
#16237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#16237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16237B
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16237B#FFFFFF#000000##FFFFFF
##16237B1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #16237b;
/* rgb */ color: rgb(22, 35, 123);
/* oklch */ color: oklch(31.6% 0.148 268.8);
Tailwind
colors: {
  custom: {
    50: '#675ea2',
    500: '#16237b',
    950: '#000000',
  },
}
SCSS
$custom: #16237b;
$custom-light: #675ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#16237b",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 232.277,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3155,
    "c": 0.148,
    "h": 268.8
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#16237B
secondary
#B0A13D
accent
#D63BEC
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16237B

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

Preview Lab → · Contrast checker → · Palette generator →

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