#13255F#13255F

#13255F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.106 H 266.5°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#13255F
RGBrgb(19, 37, 95)
HSLhsl(226, 67%, 22%)
HSVhsv(226, 80%, 37%)
CMYKcmyk(80%, 61.1%, 0%, 62.7%)
CIE-LABlab(16.93, 15.99, -36.68)
CIE-LCHlch(16.93, 40.01, 293.56°)
OKLaboklab(28.98% -0.0064 -0.1058)
OKLCHoklch(28.98% 0.106 266.5)
XYZxyz(2.9950, 2.2875, 11.1079)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13255F #5F4D13
analogous
#134B5F #13255F #27135F
triadic
#13255F #5F1325 #255F13
tetradic
#13255F #5F134B #5F4D13 #135F27
square
#13255F #5F134B #5F4D13 #135F27
split-complementary
#13255F #5F2713 #4B5F13
monochromatic
#050A1A #09112C #13255F #1D3992 #274DC5

Accessibility & contrast

On white

14.41
#13255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#13255F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13255F
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13255F#FFFFFF#000000##FFFFFF
##13255F1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #13255f;
/* rgb */ color: rgb(19, 37, 95);
/* oklch */ color: oklch(29.0% 0.106 266.5);
Tailwind
colors: {
  custom: {
    50: '#5e5f8d',
    500: '#13255f',
    950: '#000000',
  },
}
SCSS
$custom: #13255f;
$custom-light: #5e5f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#13255f",
  "rgb": {
    "r": 19,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 225.789,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28981,
    "c": 0.106,
    "h": 266.5
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#13255F
secondary
#978037
accent
#C13EEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #13255F

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

Preview Lab → · Contrast checker → · Palette generator →

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