#131B3F#131B3F

#131B3F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.069 H 270.9°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#131B3F
RGBrgb(19, 27, 63)
HSLhsl(229, 54%, 16%)
HSVhsv(229, 70%, 25%)
CMYKcmyk(69.8%, 57.1%, 0%, 75.3%)
CIE-LABlab(11.14, 10.00, -24.18)
CIE-LCHlch(11.14, 26.17, 292.47°)
OKLaboklab(23.77% 0.0011 -0.0692)
OKLCHoklch(23.77% 0.069 270.9)
XYZxyz(1.5574, 1.2811, 4.8669)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B3F #3F3713
analogous
#13313F #131B3F #21133F
triadic
#131B3F #3F131B #1B3F13
tetradic
#131B3F #3F1331 #3F3713 #133F21
square
#131B3F #3F1331 #3F3713 #133F21
split-complementary
#131B3F #3F2113 #313F13
monochromatic
#070A18 #070A18 #131B3F #212F6E #2F439D

Accessibility & contrast

On white

16.72
#131B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#131B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B3F
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B3F#FFFFFF#000000##FFFFFF
##131B3F1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082040
Deuteranopia (green-blind)
#021C3E
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #131b3f;
/* rgb */ color: rgb(19, 27, 63);
/* oklch */ color: oklch(23.8% 0.069 270.9);
Tailwind
colors: {
  custom: {
    50: '#565674',
    500: '#131b3f',
    950: '#000000',
  },
}
SCSS
$custom: #131b3f;
$custom-light: #565674;
$custom-dark: #000000;
JSON
{
  "hex": "#131b3f",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 229.091,
    "s": 53.659,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23773,
    "c": 0.06923,
    "h": 270.9
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#131B3F
secondary
#786C36
accent
#C24BDD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #131B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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