#13227E#13227E

#13227E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.154 H 267.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#13227E
RGBrgb(19, 34, 126)
HSLhsl(232, 74%, 28%)
HSVhsv(232, 85%, 49%)
CMYKcmyk(84.9%, 73%, 0%, 50.6%)
CIE-LABlab(19.18, 30.66, -53.10)
CIE-LCHlch(19.18, 61.32, 300.00°)
OKLaboklab(31.57% -0.0057 -0.1539)
OKLCHoklch(31.57% 0.154 267.9)
XYZxyz(4.6052, 2.7883, 20.0301)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13227E #7E6F13
analogous
#13577E #13227E #39137E
triadic
#13227E #7E1322 #227E13
tetradic
#13227E #7E1357 #7E6F13 #137E39
square
#13227E #7E1357 #7E6F13 #137E39
split-complementary
#13227E #7E3913 #577E13
monochromatic
#04071B #0B1449 #13227E #1B30B3 #2C45DF

Accessibility & contrast

On white

13.48
#13227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#13227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13227E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13227E#FFFFFF#000000##FFFFFF
##13227E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #13227e;
/* rgb */ color: rgb(19, 34, 126);
/* oklch */ color: oklch(31.6% 0.154 267.9);
Tailwind
colors: {
  custom: {
    50: '#675da4',
    500: '#13227e',
    950: '#000000',
  },
}
SCSS
$custom: #13227e;
$custom-light: #675da4;
$custom-dark: #000000;
JSON
{
  "hex": "#13227e",
  "rgb": {
    "r": 19,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 231.589,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31566,
    "c": 0.15399,
    "h": 267.9
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#13227E
secondary
#B4A239
accent
#D737F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #13227E

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

Preview Lab → · Contrast checker → · Palette generator →

#13227E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva