#131272#131272

#131272 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.155 H 270.6°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#131272
RGBrgb(19, 18, 114)
HSLhsl(241, 73%, 26%)
HSVhsv(241, 84%, 45%)
CMYKcmyk(83.3%, 84.2%, 0%, 55.3%)
CIE-LABlab(14.32, 35.99, -53.43)
CIE-LCHlch(14.32, 64.42, 303.97°)
OKLaboklab(27.7% 0.0017 -0.1547)
OKLCHoklch(27.7% 0.155 270.6)
XYZxyz(3.5211, 1.7856, 16.0754)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131272 #717212
analogous
#124172 #131272 #431272
triadic
#131272 #721312 #127213
tetradic
#131272 #721241 #717212 #127243
square
#131272 #721241 #717212 #127243
split-complementary
#131272 #724312 #417212
monochromatic
#04041A #0A0A3D #131272 #1C1AA7 #2523DC

Accessibility & contrast

On white

15.47
#131272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131272
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131272#FFFFFF#000000##FFFFFF
##1312721.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#001F70
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131272;
/* rgb */ color: rgb(19, 18, 114);
/* oklch */ color: oklch(27.7% 0.155 270.6);
Tailwind
colors: {
  custom: {
    50: '#65529c',
    500: '#131272',
    950: '#000000',
  },
}
SCSS
$custom: #131272;
$custom-light: #65529c;
$custom-dark: #000000;
JSON
{
  "hex": "#131272",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 114
  },
  "hsl": {
    "h": 240.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27702,
    "c": 0.1547,
    "h": 270.6
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#131272
secondary
#A8A937
accent
#EF38EE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #131272

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

Preview Lab → · Contrast checker → · Palette generator →

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