#13255B#13255B

#13255B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.100 H 266.2°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#13255B
RGBrgb(19, 37, 91)
HSLhsl(225, 65%, 22%)
HSVhsv(225, 79%, 36%)
CMYKcmyk(79.1%, 59.3%, 0%, 64.3%)
CIE-LABlab(16.59, 14.30, -34.58)
CIE-LCHlch(16.59, 37.42, 292.46°)
OKLaboklab(28.62% -0.0066 -0.0996)
OKLCHoklch(28.62% 0.1 266.2)
XYZxyz(2.8178, 2.2166, 10.1748)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13255B #5B4913
analogous
#13495B #13255B #25135B
triadic
#13255B #5B1325 #255B13
tetradic
#13255B #5B1349 #5B4913 #135B25
square
#13255B #5B1349 #5B4913 #135B25
split-complementary
#13255B #5B2513 #495B13
monochromatic
#050A19 #081028 #13255B #1E3A8E #284EC0

Accessibility & contrast

On white

14.55
#13255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13255B
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13255B#FFFFFF#000000##FFFFFF
##13255B1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #13255b;
/* rgb */ color: rgb(19, 37, 91);
/* oklch */ color: oklch(28.6% 0.100 266.2);
Tailwind
colors: {
  custom: {
    50: '#5d5f8a',
    500: '#13255b',
    950: '#000000',
  },
}
SCSS
$custom: #13255b;
$custom-light: #5d5f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#13255b",
  "rgb": {
    "r": 19,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 225,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28615,
    "c": 0.09986,
    "h": 266.2
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#13255B
secondary
#937C37
accent
#BE3FE8
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #13255B

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

Preview Lab → · Contrast checker → · Palette generator →

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