#13255A#13255A

#13255A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.098 H 266.1°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#13255A
RGBrgb(19, 37, 90)
HSLhsl(225, 65%, 21%)
HSVhsv(225, 79%, 35%)
CMYKcmyk(78.9%, 58.9%, 0%, 64.7%)
CIE-LABlab(16.50, 13.87, -34.05)
CIE-LCHlch(16.50, 36.76, 292.16°)
OKLaboklab(28.53% -0.0067 -0.0981)
OKLCHoklch(28.53% 0.098 266.1)
XYZxyz(2.7749, 2.1995, 9.9492)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13255A #5A4813
analogous
#13495A #13255A #25135A
triadic
#13255A #5A1325 #255A13
tetradic
#13255A #5A1349 #5A4813 #135A25
square
#13255A #5A1349 #5A4813 #135A25
split-complementary
#13255A #5A2513 #495A13
monochromatic
#050A19 #081027 #13255A #1E3A8D #284FBF

Accessibility & contrast

On white

14.58
#13255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#13255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13255A
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13255A#FFFFFF#000000##FFFFFF
##13255A1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #13255a;
/* rgb */ color: rgb(19, 37, 90);
/* oklch */ color: oklch(28.5% 0.098 266.1);
Tailwind
colors: {
  custom: {
    50: '#5c5f89',
    500: '#13255a',
    950: '#000000',
  },
}
SCSS
$custom: #13255a;
$custom-light: #5c5f89;
$custom-dark: #000000;
JSON
{
  "hex": "#13255a",
  "rgb": {
    "r": 19,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 224.789,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28525,
    "c": 0.09831,
    "h": 266.1
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#13255A
secondary
#927B37
accent
#BD40E8
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #13255A

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

Preview Lab → · Contrast checker → · Palette generator →

#13255A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva