#13308E#13308E

#13308E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.159 H 265.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#13308E
RGBrgb(19, 48, 142)
HSLhsl(226, 76%, 32%)
HSVhsv(226, 87%, 56%)
CMYKcmyk(86.6%, 66.2%, 0%, 44.3%)
CIE-LABlab(24.34, 27.48, -54.65)
CIE-LCHlch(24.34, 61.17, 296.69°)
OKLaboklab(35.83% -0.013 -0.1583)
OKLCHoklch(35.83% 0.159 265.3)
XYZxyz(6.2063, 4.2046, 26.0704)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13308E #8E7113
analogous
#136E8E #13308E #34138E
triadic
#13308E #8E1330 #308E13
tetradic
#13308E #8E136E #8E7113 #138E34
square
#13308E #8E136E #8E7113 #138E34
split-complementary
#13308E #8E3413 #6E8E13
monochromatic
#050C22 #0C1E58 #13308E #1A42C4 #3760E4

Accessibility & contrast

On white

11.41
#13308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#13308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13308E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13308E#FFFFFF#000000##FFFFFF
##13308E1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #13308e;
/* rgb */ color: rgb(19, 48, 142);
/* oklch */ color: oklch(35.8% 0.159 265.3);
Tailwind
colors: {
  custom: {
    50: '#6a68b0',
    500: '#13308e',
    950: '#000000',
  },
}
SCSS
$custom: #13308e;
$custom-light: #6a68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#13308e",
  "rgb": {
    "r": 19,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 225.854,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35827,
    "c": 0.15885,
    "h": 265.3
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#13308E
secondary
#C2A23B
accent
#C635F3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #13308E

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

Preview Lab → · Contrast checker → · Palette generator →

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