#131F4F#131F4F

#131F4F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.090 H 268.8°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#131F4F
RGBrgb(19, 31, 79)
HSLhsl(228, 61%, 19%)
HSVhsv(228, 76%, 31%)
CMYKcmyk(75.9%, 60.8%, 0%, 69%)
CIE-LABlab(13.73, 13.70, -31.12)
CIE-LCHlch(13.73, 34.00, 293.76°)
OKLaboklab(26.14% -0.0019 -0.0896)
OKLCHoklch(26.14% 0.09 268.8)
XYZxyz(2.1693, 1.6827, 7.6061)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F4F #4F4313
analogous
#133D4F #131F4F #25134F
triadic
#131F4F #4F131F #1F4F13
tetradic
#131F4F #4F133D #4F4313 #134F25
square
#131F4F #4F133D #4F4313 #134F25
split-complementary
#131F4F #4F2513 #3D4F13
monochromatic
#060A19 #070C1E #131F4F #1F3280 #2B46B2

Accessibility & contrast

On white

15.71
#131F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F4F
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F4F#FFFFFF#000000##FFFFFF
##131F4F1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#002B33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131f4f;
/* rgb */ color: rgb(19, 31, 79);
/* oklch */ color: oklch(26.1% 0.090 268.8);
Tailwind
colors: {
  custom: {
    50: '#5a5a81',
    500: '#131f4f',
    950: '#000000',
  },
}
SCSS
$custom: #131f4f;
$custom-light: #5a5a81;
$custom-dark: #000000;
JSON
{
  "hex": "#131f4f",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 228,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26141,
    "c": 0.08959,
    "h": 268.8
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#131F4F
secondary
#887736
accent
#C443E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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