#131252#131252

#131252 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.112 H 274.5°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#131252
RGBrgb(19, 18, 82)
HSLhsl(241, 64%, 20%)
HSVhsv(241, 78%, 32%)
CMYKcmyk(76.8%, 78%, 0%, 67.8%)
CIE-LABlab(10.41, 24.37, -38.59)
CIE-LCHlch(10.41, 45.64, 302.28°)
OKLaboklab(23.8% 0.0087 -0.1116)
OKLCHoklch(23.8% 0.112 274.5)
XYZxyz(2.0074, 1.1801, 8.1030)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131252 #515212
analogous
#123152 #131252 #331252
triadic
#131252 #521312 #125213
tetradic
#131252 #521231 #515212 #125233
square
#131252 #521231 #515212 #125233
split-complementary
#131252 #523312 #315212
monochromatic
#060619 #070720 #131252 #1F1D84 #2A28B6

Accessibility & contrast

On white

16.99
#131252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#131252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131252
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131252#FFFFFF#000000##FFFFFF
##1312521.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#002430
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #131252;
/* rgb */ color: rgb(19, 18, 82);
/* oklch */ color: oklch(23.8% 0.112 274.5);
Tailwind
colors: {
  custom: {
    50: '#5c5083',
    500: '#131252',
    950: '#000000',
  },
}
SCSS
$custom: #131252;
$custom-light: #5c5083;
$custom-dark: #000000;
JSON
{
  "hex": "#131252",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 240.938,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23798,
    "c": 0.11191,
    "h": 274.5
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#131252
secondary
#8A8B35
accent
#E741E4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #131252

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

Preview Lab → · Contrast checker → · Palette generator →

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