#131852#131852

#131852 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.9% C 0.104 H 272.4°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#131852
RGBrgb(19, 24, 82)
HSLhsl(235, 62%, 20%)
HSVhsv(235, 77%, 32%)
CMYKcmyk(76.8%, 70.7%, 0%, 67.8%)
CIE-LABlab(11.96, 20.17, -36.04)
CIE-LCHlch(11.96, 41.30, 299.23°)
OKLaboklab(24.92% 0.0043 -0.1041)
OKLCHoklch(24.92% 0.104 272.4)
XYZxyz(2.1177, 1.4007, 8.1398)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131852 #524D13
analogous
#133852 #131852 #2E1352
triadic
#131852 #521318 #185213
tetradic
#131852 #521338 #524D13 #13522E
square
#131852 #521338 #524D13 #13522E
split-complementary
#131852 #522E13 #385213
monochromatic
#060719 #070920 #131852 #1F2784 #2A35B5

Accessibility & contrast

On white

16.40
#131852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#131852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131852
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131852#FFFFFF#000000##FFFFFF
##1318521.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#002732
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #131852;
/* rgb */ color: rgb(19, 24, 82);
/* oklch */ color: oklch(24.9% 0.104 272.4);
Tailwind
colors: {
  custom: {
    50: '#5b5483',
    500: '#131852',
    950: '#000000',
  },
}
SCSS
$custom: #131852;
$custom-light: #5b5483;
$custom-dark: #000000;
JSON
{
  "hex": "#131852",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 235.238,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.24921,
    "c": 0.1042,
    "h": 272.4
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#131852
secondary
#8A8436
accent
#D942E5
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #131852

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

Preview Lab → · Contrast checker → · Palette generator →

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