#131862#131862

#131862 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.127 H 271.1°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#131862
RGBrgb(19, 24, 98)
HSLhsl(236, 68%, 23%)
HSVhsv(236, 81%, 38%)
CMYKcmyk(80.6%, 75.5%, 0%, 61.6%)
CIE-LABlab(13.67, 26.52, -44.01)
CIE-LCHlch(13.67, 51.38, 301.07°)
OKLaboklab(26.68% 0.0025 -0.1274)
OKLCHoklch(26.68% 0.127 271.1)
XYZxyz(2.7990, 1.6733, 11.7284)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131862 #625D13
analogous
#133F62 #131862 #361362
triadic
#131862 #621318 #186213
tetradic
#131862 #62133F #625D13 #136236
square
#131862 #62133F #625D13 #136236
split-complementary
#131862 #623613 #3F6213
monochromatic
#05061A #090B2F #131862 #1D2595 #2731C9

Accessibility & contrast

On white

15.73
#131862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#131862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131862
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131862#FFFFFF#000000##FFFFFF
##1318621.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002764
Deuteranopia (green-blind)
#001F61
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131862;
/* rgb */ color: rgb(19, 24, 98);
/* oklch */ color: oklch(26.7% 0.127 271.1);
Tailwind
colors: {
  custom: {
    50: '#605590',
    500: '#131862',
    950: '#000000',
  },
}
SCSS
$custom: #131862;
$custom-light: #605590;
$custom-dark: #000000;
JSON
{
  "hex": "#131862",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 236.203,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26676,
    "c": 0.1274,
    "h": 271.1
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#131862
secondary
#9A9337
accent
#DF3DEA
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #131862

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

Preview Lab → · Contrast checker → · Palette generator →

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