#131562#131562

#131562 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.2% C 0.131 H 271.8°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#131562
RGBrgb(19, 21, 98)
HSLhsl(238, 68%, 23%)
HSVhsv(238, 81%, 38%)
CMYKcmyk(80.6%, 78.6%, 0%, 61.6%)
CIE-LABlab(12.96, 28.49, -45.17)
CIE-LCHlch(12.96, 53.41, 302.24°)
OKLaboklab(26.17% 0.004 -0.1308)
OKLCHoklch(26.17% 0.131 271.8)
XYZxyz(2.7406, 1.5563, 11.7089)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131562 #626013
analogous
#133C62 #131562 #381362
triadic
#131562 #621315 #156213
tetradic
#131562 #62133C #626013 #136238
square
#131562 #62133C #626013 #136238
split-complementary
#131562 #623813 #3C6213
monochromatic
#05051A #090A2F #131562 #1D2095 #272BC9

Accessibility & contrast

On white

16.01
#131562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131562
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131562#FFFFFF#000000##FFFFFF
##1315621.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002564
Deuteranopia (green-blind)
#001E61
Tritanopia (blue-blind)
#002B3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131562;
/* rgb */ color: rgb(19, 21, 98);
/* oklch */ color: oklch(26.2% 0.131 271.8);
Tailwind
colors: {
  custom: {
    50: '#605390',
    500: '#131562',
    950: '#000000',
  },
}
SCSS
$custom: #131562;
$custom-light: #605390;
$custom-dark: #000000;
JSON
{
  "hex": "#131562",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 98
  },
  "hsl": {
    "h": 238.481,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2617,
    "c": 0.13083,
    "h": 271.8
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#131562
secondary
#9A9737
accent
#E63DEA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #131562

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

Preview Lab → · Contrast checker → · Palette generator →

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