#16245F#16245F

#16245F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.106 H 268.6°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#16245F
RGBrgb(22, 36, 95)
HSLhsl(228, 62%, 23%)
HSVhsv(228, 77%, 37%)
CMYKcmyk(76.8%, 62.1%, 0%, 62.7%)
CIE-LABlab(16.79, 17.15, -36.90)
CIE-LCHlch(16.79, 40.69, 294.93°)
OKLaboklab(28.92% -0.0025 -0.1064)
OKLCHoklch(28.92% 0.106 268.6)
XYZxyz(3.0266, 2.2582, 11.1006)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16245F #5F5116
analogous
#16485F #16245F #2C165F
triadic
#16245F #5F1624 #245F16
tetradic
#16245F #5F1648 #5F5116 #165F2C
square
#16245F #5F1648 #5F5116 #165F2C
split-complementary
#16245F #5F2C16 #485F16
monochromatic
#060919 #0A112D #16245F #223791 #2D4AC2

Accessibility & contrast

On white

14.46
#16245F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#16245F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16245F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16245F#FFFFFF#000000##FFFFFF
##16245F1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16245f;
/* rgb */ color: rgb(22, 36, 95);
/* oklch */ color: oklch(28.9% 0.106 268.6);
Tailwind
colors: {
  custom: {
    50: '#5f5e8d',
    500: '#16245f',
    950: '#000000',
  },
}
SCSS
$custom: #16245f;
$custom-light: #5f5e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#16245f",
  "rgb": {
    "r": 22,
    "g": 36,
    "b": 95
  },
  "hsl": {
    "h": 228.493,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28919,
    "c": 0.10645,
    "h": 268.6
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#16245F
secondary
#96853B
accent
#C642E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16245F

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

Preview Lab → · Contrast checker → · Palette generator →

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