#16255E#16255E

#16255E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.104 H 268.1°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#16255E
RGBrgb(22, 37, 94)
HSLhsl(228, 62%, 23%)
HSVhsv(228, 77%, 37%)
CMYKcmyk(76.6%, 60.6%, 0%, 63.1%)
CIE-LABlab(17.00, 16.00, -35.90)
CIE-LCHlch(17.00, 39.30, 294.02°)
OKLaboklab(29.05% -0.0034 -0.1035)
OKLCHoklch(29.05% 0.104 268.1)
XYZxyz(3.0121, 2.3016, 10.8730)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16255E #5E4F16
analogous
#16495E #16255E #2B165E
triadic
#16255E #5E1625 #255E16
tetradic
#16255E #5E1649 #5E4F16 #165E2B
square
#16255E #5E1649 #5E4F16 #165E2B
split-complementary
#16255E #5E2B16 #495E16
monochromatic
#060A19 #0A112C #16255E #223990 #2D4CC1

Accessibility & contrast

On white

14.38
#16255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#16255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16255E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16255E#FFFFFF#000000##FFFFFF
##16255E1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #16255e;
/* rgb */ color: rgb(22, 37, 94);
/* oklch */ color: oklch(29.0% 0.104 268.1);
Tailwind
colors: {
  custom: {
    50: '#5f5f8c',
    500: '#16255e',
    950: '#000000',
  },
}
SCSS
$custom: #16255e;
$custom-light: #5f5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#16255e",
  "rgb": {
    "r": 22,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 227.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29047,
    "c": 0.10352,
    "h": 268.1
  },
  "luminance": 0.02302
}

Semantic roles & 50–950 ramp

primary
#16255E
secondary
#95823B
accent
#C343E5
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #16255E

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

Preview Lab → · Contrast checker → · Palette generator →

#16255E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva