#131F4B#131F4B

#131F4B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.083 H 268.5°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#131F4B
RGBrgb(19, 31, 75)
HSLhsl(227, 60%, 18%)
HSVhsv(227, 75%, 29%)
CMYKcmyk(74.7%, 58.7%, 0%, 70.6%)
CIE-LABlab(13.39, 12.01, -28.92)
CIE-LCHlch(13.39, 31.31, 292.54°)
OKLaboklab(25.78% -0.0022 -0.0831)
OKLCHoklch(25.78% 0.083 268.5)
XYZxyz(2.0281, 1.6262, 6.8623)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F4B #4B3F13
analogous
#133B4B #131F4B #23134B
triadic
#131F4B #4B131F #1F4B13
tetradic
#131F4B #4B133B #4B3F13 #134B23
square
#131F4B #4B133B #4B3F13 #134B23
split-complementary
#131F4B #4B2313 #3B4B13
monochromatic
#060A18 #070B1A #131F4B #1F337C #2C47AD

Accessibility & contrast

On white

15.85
#131F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#131F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F4B
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F4B#FFFFFF#000000##FFFFFF
##131F4B1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03254D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #131f4b;
/* rgb */ color: rgb(19, 31, 75);
/* oklch */ color: oklch(25.8% 0.083 268.5);
Tailwind
colors: {
  custom: {
    50: '#595a7e',
    500: '#131f4b',
    950: '#000000',
  },
}
SCSS
$custom: #131f4b;
$custom-light: #595a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#131f4b",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 227.143,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25781,
    "c": 0.08314,
    "h": 268.5
  },
  "luminance": 0.01626
}

Semantic roles & 50–950 ramp

primary
#131F4B
secondary
#847336
accent
#C145E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #131F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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