#131FBB#131FBB

#131FBB is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.4% C 0.230 H 266.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#131FBB
RGBrgb(19, 31, 187)
HSLhsl(236, 82%, 40%)
HSVhsv(236, 90%, 73%)
CMYKcmyk(89.8%, 83.4%, 0%, 26.7%)
CIE-LABlab(25.88, 53.35, -79.38)
CIE-LCHlch(25.88, 95.64, 303.91°)
OKLaboklab(38.4% -0.0137 -0.2299)
OKLCHoklch(38.4% 0.23 266.6)
XYZxyz(9.7251, 4.7050, 47.3997)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131FBB #BBAF13
analogous
#1373BB #131FBB #5B13BB
triadic
#131FBB #BB131F #1FBB13
tetradic
#131FBB #BB1373 #BBAF13 #13BB5B
square
#131FBB #BB1373 #BBAF13 #13BB5B
split-complementary
#131FBB #BB5B13 #73BB13
monochromatic
#080D4C #0D1683 #131FBB #2331E9 #5A65EE

Accessibility & contrast

On white

10.82
#131FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#131FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131FBB
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131FBB#FFFFFF#000000##FFFFFF
##131FBB1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046BF
Deuteranopia (green-blind)
#0034B8
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #131fbb;
/* rgb */ color: rgb(19, 31, 187);
/* oklch */ color: oklch(38.4% 0.230 266.6);
Tailwind
colors: {
  custom: {
    50: '#795fd1',
    500: '#131fbb',
    950: '#000000',
  },
}
SCSS
$custom: #131fbb;
$custom-light: #795fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#131fbb",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 187
  },
  "hsl": {
    "h": 235.714,
    "s": 81.553,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38403,
    "c": 0.23033,
    "h": 266.6
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#131FBB
secondary
#D1C958
accent
#EA30F8
background
#F8F5FD
surface
#EFEAFA
border
#CAC6D3
text
#0B0514
muted
#7C7983

Preview Lab

Preview with #131FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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