#13255D#13255D

#13255D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.103 H 266.4°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#13255D
RGBrgb(19, 37, 93)
HSLhsl(225, 66%, 22%)
HSVhsv(225, 80%, 36%)
CMYKcmyk(79.6%, 60.2%, 0%, 63.5%)
CIE-LABlab(16.76, 15.14, -35.63)
CIE-LCHlch(16.76, 38.72, 293.03°)
OKLaboklab(28.8% -0.0065 -0.1027)
OKLCHoklch(28.8% 0.103 266.4)
XYZxyz(2.9052, 2.2516, 10.6353)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13255D #5D4B13
analogous
#134A5D #13255D #26135D
triadic
#13255D #5D1325 #255D13
tetradic
#13255D #5D134A #5D4B13 #135D26
square
#13255D #5D134A #5D4B13 #135D26
split-complementary
#13255D #5D2613 #4A5D13
monochromatic
#050A19 #09112A #13255D #1D3990 #284DC3

Accessibility & contrast

On white

14.48
#13255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13255D
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13255D#FFFFFF#000000##FFFFFF
##13255D1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #13255d;
/* rgb */ color: rgb(19, 37, 93);
/* oklch */ color: oklch(28.8% 0.103 266.4);
Tailwind
colors: {
  custom: {
    50: '#5d5f8b',
    500: '#13255d',
    950: '#000000',
  },
}
SCSS
$custom: #13255d;
$custom-light: #5d5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#13255d",
  "rgb": {
    "r": 19,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 225.405,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28797,
    "c": 0.10294,
    "h": 266.4
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#13255D
secondary
#957E37
accent
#C03FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #13255D

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

Preview Lab → · Contrast checker → · Palette generator →

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