#131271#131271

#131271 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.153 H 270.7°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#131271
RGBrgb(19, 18, 113)
HSLhsl(241, 73%, 26%)
HSVhsv(241, 84%, 44%)
CMYKcmyk(83.2%, 84.1%, 0%, 55.7%)
CIE-LABlab(14.19, 35.65, -53.00)
CIE-LCHlch(14.19, 63.87, 303.93°)
OKLaboklab(27.58% 0.002 -0.1534)
OKLCHoklch(27.58% 0.153 270.7)
XYZxyz(3.4645, 1.7629, 15.7773)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131271 #707112
analogous
#124071 #131271 #421271
triadic
#131271 #711312 #127113
tetradic
#131271 #711240 #707112 #127142
square
#131271 #711240 #707112 #127142
split-complementary
#131271 #714212 #407112
monochromatic
#04041A #0A0A3C #131271 #1C1AA6 #2523DB

Accessibility & contrast

On white

15.53
#131271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#131271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131271
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131271#FFFFFF#000000##FFFFFF
##1312711.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131271;
/* rgb */ color: rgb(19, 18, 113);
/* oklch */ color: oklch(27.6% 0.153 270.7);
Tailwind
colors: {
  custom: {
    50: '#65529b',
    500: '#131271',
    950: '#000000',
  },
}
SCSS
$custom: #131271;
$custom-light: #65529b;
$custom-dark: #000000;
JSON
{
  "hex": "#131271",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 240.632,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27575,
    "c": 0.15344,
    "h": 270.7
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#131271
secondary
#A7A837
accent
#EF39ED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #131271

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

Preview Lab → · Contrast checker → · Palette generator →

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