#132874#132874

#132874 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.133 H 266.5°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#132874
RGBrgb(19, 40, 116)
HSLhsl(227, 72%, 26%)
HSVhsv(227, 84%, 45%)
CMYKcmyk(83.6%, 65.5%, 0%, 54.5%)
CIE-LABlab(19.71, 22.56, -45.84)
CIE-LCHlch(19.71, 51.09, 296.21°)
OKLaboklab(31.65% -0.0082 -0.1326)
OKLCHoklch(31.65% 0.133 266.5)
XYZxyz(4.1786, 2.9165, 16.8623)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132874 #745F13
analogous
#135974 #132874 #2F1374
triadic
#132874 #741328 #287413
tetradic
#132874 #741359 #745F13 #13742F
square
#132874 #741359 #745F13 #13742F
split-complementary
#132874 #742F13 #597413
monochromatic
#04091A #0A163F #132874 #1C3AA9 #264DDB

Accessibility & contrast

On white

13.26
#132874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#132874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132874
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132874#FFFFFF#000000##FFFFFF
##1328741.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #132874;
/* rgb */ color: rgb(19, 40, 116);
/* oklch */ color: oklch(31.6% 0.133 266.5);
Tailwind
colors: {
  custom: {
    50: '#63619d',
    500: '#132874',
    950: '#000000',
  },
}
SCSS
$custom: #132874;
$custom-light: #63619d;
$custom-dark: #000000;
JSON
{
  "hex": "#132874",
  "rgb": {
    "r": 19,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 227.01,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31646,
    "c": 0.1329,
    "h": 266.5
  },
  "luminance": 0.02917
}

Semantic roles & 50–950 ramp

primary
#132874
secondary
#AA9238
accent
#C739EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #132874

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

Preview Lab → · Contrast checker → · Palette generator →

#132874 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva