#131335#131335

#131335 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.0% C 0.065 H 279.2°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#131335
RGBrgb(19, 19, 53)
HSLhsl(240, 47%, 14%)
HSVhsv(240, 64%, 21%)
CMYKcmyk(64.2%, 64.2%, 0%, 79.2%)
CIE-LABlab(7.78, 12.08, -22.43)
CIE-LCHlch(7.78, 25.48, 298.31°)
OKLaboklab(20.98% 0.0104 -0.0642)
OKLCHoklch(20.98% 0.065 279.2)
XYZxyz(1.1438, 0.8612, 3.4734)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131335 #353513
analogous
#132435 #131335 #241335
triadic
#131335 #351313 #133513
tetradic
#131335 #351324 #353513 #133524
square
#131335 #351324 #353513 #133524
split-complementary
#131335 #352413 #243513
monochromatic
#080817 #080817 #131335 #232362 #33338F

Accessibility & contrast

On white

17.92
#131335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#131335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131335
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131335#FFFFFF#000000##FFFFFF
##1313351.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021836
Deuteranopia (green-blind)
#001634
Tritanopia (blue-blind)
#041B21
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #131335;
/* rgb */ color: rgb(19, 19, 53);
/* oklch */ color: oklch(21.0% 0.065 279.2);
Tailwind
colors: {
  custom: {
    50: '#54506c',
    500: '#131335',
    950: '#000000',
  },
}
SCSS
$custom: #131335;
$custom-light: #54506c;
$custom-dark: #000000;
JSON
{
  "hex": "#131335",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 240,
    "s": 47.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2098,
    "c": 0.06503,
    "h": 279.2
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#131335
secondary
#6D6D37
accent
#D751D7
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030207
muted
#78787A

Preview Lab

Preview with #131335

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

Preview Lab → · Contrast checker → · Palette generator →

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