#131962#131962

#131962 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.126 H 270.9°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#131962
RGBrgb(19, 25, 98)
HSLhsl(235, 68%, 23%)
HSVhsv(235, 81%, 38%)
CMYKcmyk(80.6%, 74.5%, 0%, 61.6%)
CIE-LABlab(13.92, 25.84, -43.60)
CIE-LCHlch(13.92, 50.68, 300.66°)
OKLaboklab(26.85% 0.0019 -0.1262)
OKLCHoklch(26.85% 0.126 270.9)
XYZxyz(2.8200, 1.7152, 11.7354)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131962 #625C13
analogous
#134062 #131962 #341362
triadic
#131962 #621319 #196213
tetradic
#131962 #621340 #625C13 #136234
square
#131962 #621340 #625C13 #136234
split-complementary
#131962 #623413 #406213
monochromatic
#05071A #090C2F #131962 #1D2695 #2733C9

Accessibility & contrast

On white

15.63
#131962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131962
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131962#FFFFFF#000000##FFFFFF
##1319621.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131962;
/* rgb */ color: rgb(19, 25, 98);
/* oklch */ color: oklch(26.9% 0.126 270.9);
Tailwind
colors: {
  custom: {
    50: '#605690',
    500: '#131962',
    950: '#000000',
  },
}
SCSS
$custom: #131962;
$custom-light: #605690;
$custom-dark: #000000;
JSON
{
  "hex": "#131962",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 235.443,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26853,
    "c": 0.12621,
    "h": 270.9
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#131962
secondary
#9A9237
accent
#DD3DEA
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #131962

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

Preview Lab → · Contrast checker → · Palette generator →

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