#131952#131952

#131952 is a dark, moderate blue. Relative luminance 0.014; OKLCH L 25.1% C 0.103 H 272.0°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#131952
RGBrgb(19, 25, 82)
HSLhsl(234, 62%, 20%)
HSVhsv(234, 77%, 32%)
CMYKcmyk(76.8%, 69.5%, 0%, 67.8%)
CIE-LABlab(12.24, 19.44, -35.59)
CIE-LCHlch(12.24, 40.55, 298.64°)
OKLaboklab(25.12% 0.0035 -0.1028)
OKLCHoklch(25.12% 0.103 272)
XYZxyz(2.1387, 1.4427, 8.1468)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131952 #524C13
analogous
#133852 #131952 #2D1352
triadic
#131952 #521319 #195213
tetradic
#131952 #521338 #524C13 #13522D
square
#131952 #521338 #524C13 #13522D
split-complementary
#131952 #522D13 #385213
monochromatic
#060819 #070A20 #131952 #1F2884 #2A37B5

Accessibility & contrast

On white

16.30
#131952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#131952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131952
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131952#FFFFFF#000000##FFFFFF
##1319521.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131952;
/* rgb */ color: rgb(19, 25, 82);
/* oklch */ color: oklch(25.1% 0.103 272.0);
Tailwind
colors: {
  custom: {
    50: '#5b5583',
    500: '#131952',
    950: '#000000',
  },
}
SCSS
$custom: #131952;
$custom-light: #5b5583;
$custom-dark: #000000;
JSON
{
  "hex": "#131952",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 234.286,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25123,
    "c": 0.10283,
    "h": 272
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#131952
secondary
#8A8236
accent
#D642E5
background
#F5F4F8
surface
#E9E8EF
border
#C5C4CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131952

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

Preview Lab → · Contrast checker → · Palette generator →

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