#131F3F#131F3F

#131F3F is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.8% C 0.063 H 266.4°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#131F3F
RGBrgb(19, 31, 63)
HSLhsl(224, 54%, 16%)
HSVhsv(224, 70%, 25%)
CMYKcmyk(69.8%, 50.8%, 0%, 75.3%)
CIE-LABlab(12.46, 6.92, -22.06)
CIE-LCHlch(12.46, 23.12, 287.42°)
OKLaboklab(24.78% -0.004 -0.0629)
OKLCHoklch(24.78% 0.063 266.4)
XYZxyz(1.6554, 1.4772, 4.8995)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F3F #3F3313
analogous
#13353F #131F3F #1D133F
triadic
#131F3F #3F131F #1F3F13
tetradic
#131F3F #3F1335 #3F3313 #133F1D
square
#131F3F #3F1335 #3F3313 #133F1D
split-complementary
#131F3F #3F1D13 #353F13
monochromatic
#070C18 #070C18 #131F3F #21366E #2F4D9D

Accessibility & contrast

On white

16.21
#131F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#131F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F3F
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F3F#FFFFFF#000000##FFFFFF
##131F3F1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102340
Deuteranopia (green-blind)
#091F3E
Tritanopia (blue-blind)
#00262B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #131f3f;
/* rgb */ color: rgb(19, 31, 63);
/* oklch */ color: oklch(24.8% 0.063 266.4);
Tailwind
colors: {
  custom: {
    50: '#565a74',
    500: '#131f3f',
    950: '#000000',
  },
}
SCSS
$custom: #131f3f;
$custom-light: #565a74;
$custom-dark: #000000;
JSON
{
  "hex": "#131f3f",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 223.636,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24779,
    "c": 0.06306,
    "h": 266.4
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#131F3F
secondary
#786636
accent
#B54BDD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131F3F

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

Preview Lab → · Contrast checker → · Palette generator →

#131F3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva