#131273#131273

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

Color values

HEX#131273
RGBrgb(19, 18, 115)
HSLhsl(241, 73%, 26%)
HSVhsv(241, 84%, 45%)
CMYKcmyk(83.5%, 84.3%, 0%, 54.9%)
CIE-LABlab(14.45, 36.33, -53.86)
CIE-LCHlch(14.45, 64.97, 304.00°)
OKLaboklab(27.83% 0.0015 -0.1559)
OKLCHoklch(27.83% 0.156 270.6)
XYZxyz(3.5783, 1.8085, 16.3768)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131273 #727312
analogous
#124173 #131273 #431273
triadic
#131273 #731312 #127313
tetradic
#131273 #731241 #727312 #127343
square
#131273 #731241 #727312 #127343
split-complementary
#131273 #734312 #417312
monochromatic
#04041A #0A0A3E #131273 #1C1AA8 #2523DD

Accessibility & contrast

On white

15.42
#131273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131273
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131273#FFFFFF#000000##FFFFFF
##1312731.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002976
Deuteranopia (green-blind)
#001F71
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131273;
/* rgb */ color: rgb(19, 18, 115);
/* oklch */ color: oklch(27.8% 0.156 270.6);
Tailwind
colors: {
  custom: {
    50: '#66529c',
    500: '#131273',
    950: '#000000',
  },
}
SCSS
$custom: #131273;
$custom-light: #66529c;
$custom-dark: #000000;
JSON
{
  "hex": "#131273",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 240.619,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27829,
    "c": 0.15595,
    "h": 270.6
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #131273

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

Preview Lab → · Contrast checker → · Palette generator →

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