#16235F#16235F

#16235F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.108 H 269.1°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#16235F
RGBrgb(22, 35, 95)
HSLhsl(229, 62%, 23%)
HSVhsv(229, 77%, 37%)
CMYKcmyk(76.8%, 63.2%, 0%, 62.7%)
CIE-LABlab(16.50, 17.89, -37.37)
CIE-LCHlch(16.50, 41.43, 295.57°)
OKLaboklab(28.7% -0.0017 -0.1078)
OKLCHoklch(28.7% 0.108 269.1)
XYZxyz(2.9968, 2.1986, 11.0907)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16235F #5F5216
analogous
#16475F #16235F #2D165F
triadic
#16235F #5F1623 #235F16
tetradic
#16235F #5F1647 #5F5216 #165F2D
square
#16235F #5F1647 #5F5216 #165F2D
split-complementary
#16235F #5F2D16 #475F16
monochromatic
#060919 #0A112D #16235F #223591 #2D48C2

Accessibility & contrast

On white

14.59
#16235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#16235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16235F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16235F#FFFFFF#000000##FFFFFF
##16235F1.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #16235f;
/* rgb */ color: rgb(22, 35, 95);
/* oklch */ color: oklch(28.7% 0.108 269.1);
Tailwind
colors: {
  custom: {
    50: '#5f5d8d',
    500: '#16235f',
    950: '#000000',
  },
}
SCSS
$custom: #16235f;
$custom-light: #5f5d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#16235f",
  "rgb": {
    "r": 22,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 229.315,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28701,
    "c": 0.10784,
    "h": 269.1
  },
  "luminance": 0.02199
}

Semantic roles & 50–950 ramp

primary
#16235F
secondary
#96863B
accent
#C842E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16235F

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

Preview Lab → · Contrast checker → · Palette generator →

#16235F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva