#13255C#13255C

#13255C is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.101 H 266.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#13255C
RGBrgb(19, 37, 92)
HSLhsl(225, 66%, 22%)
HSVhsv(225, 79%, 36%)
CMYKcmyk(79.3%, 59.8%, 0%, 63.9%)
CIE-LABlab(16.67, 14.72, -35.10)
CIE-LCHlch(16.67, 38.07, 292.75°)
OKLaboklab(28.71% -0.0066 -0.1012)
OKLCHoklch(28.71% 0.101 266.3)
XYZxyz(2.8612, 2.2340, 10.4035)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13255C #5C4A13
analogous
#134A5C #13255C #25135C
triadic
#13255C #5C1325 #255C13
tetradic
#13255C #5C134A #5C4A13 #135C25
square
#13255C #5C134A #5C4A13 #135C25
split-complementary
#13255C #5C2513 #4A5C13
monochromatic
#050A19 #091129 #13255C #1D398F #284EC1

Accessibility & contrast

On white

14.51
#13255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#13255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13255C
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13255C#FFFFFF#000000##FFFFFF
##13255C1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#00333C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #13255c;
/* rgb */ color: rgb(19, 37, 92);
/* oklch */ color: oklch(28.7% 0.101 266.3);
Tailwind
colors: {
  custom: {
    50: '#5d5f8b',
    500: '#13255c',
    950: '#000000',
  },
}
SCSS
$custom: #13255c;
$custom-light: #5d5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#13255c",
  "rgb": {
    "r": 19,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 225.205,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28706,
    "c": 0.1014,
    "h": 266.3
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#13255C
secondary
#947D37
accent
#BF3FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #13255C

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

Preview Lab → · Contrast checker → · Palette generator →

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