#131274#131274

#131274 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.157 H 270.5°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#131274
RGBrgb(19, 18, 116)
HSLhsl(241, 73%, 26%)
HSVhsv(241, 84%, 45%)
CMYKcmyk(83.6%, 84.5%, 0%, 54.5%)
CIE-LABlab(14.58, 36.68, -54.30)
CIE-LCHlch(14.58, 65.52, 304.04°)
OKLaboklab(27.96% 0.0013 -0.1572)
OKLCHoklch(27.96% 0.157 270.5)
XYZxyz(3.6362, 1.8316, 16.6815)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131274 #737412
analogous
#124274 #131274 #441274
triadic
#131274 #741312 #127413
tetradic
#131274 #741242 #737412 #127444
square
#131274 #741242 #737412 #127444
split-complementary
#131274 #744412 #427412
monochromatic
#04041A #0A0A3F #131274 #1C1AA9 #2523DD

Accessibility & contrast

On white

15.37
#131274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#131274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131274
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131274#FFFFFF#000000##FFFFFF
##1312741.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131274;
/* rgb */ color: rgb(19, 18, 116);
/* oklch */ color: oklch(28.0% 0.157 270.5);
Tailwind
colors: {
  custom: {
    50: '#66539d',
    500: '#131274',
    950: '#000000',
  },
}
SCSS
$custom: #131274;
$custom-light: #66539d;
$custom-dark: #000000;
JSON
{
  "hex": "#131274",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 240.612,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.27956,
    "c": 0.15721,
    "h": 270.5
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#131274
secondary
#AAAB37
accent
#F038EE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #131274

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

Preview Lab → · Contrast checker → · Palette generator →

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