#131B6D#131B6D

#131B6D is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.139 H 269.7°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#131B6D
RGBrgb(19, 27, 109)
HSLhsl(235, 70%, 25%)
HSVhsv(235, 83%, 43%)
CMYKcmyk(82.6%, 75.2%, 0%, 57.3%)
CIE-LABlab(15.62, 28.76, -48.02)
CIE-LCHlch(15.62, 55.97, 300.92°)
OKLaboklab(28.45% -0.0006 -0.1391)
OKLCHoklch(28.45% 0.139 269.7)
XYZxyz(3.4199, 2.0261, 14.6759)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B6D #6D6513
analogous
#13486D #131B6D #38136D
triadic
#131B6D #6D131B #1B6D13
tetradic
#131B6D #6D1348 #6D6513 #136D38
square
#131B6D #6D1348 #6D6513 #136D38
split-complementary
#131B6D #6D3813 #486D13
monochromatic
#05061A #0A0E39 #131B6D #1C28A1 #2535D5

Accessibility & contrast

On white

14.94
#131B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#131B6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B6D
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B6D#FFFFFF#000000##FFFFFF
##131B6D1.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131b6d;
/* rgb */ color: rgb(19, 27, 109);
/* oklch */ color: oklch(28.4% 0.139 269.7);
Tailwind
colors: {
  custom: {
    50: '#635898',
    500: '#131b6d',
    950: '#000000',
  },
}
SCSS
$custom: #131b6d;
$custom-light: #635898;
$custom-dark: #000000;
JSON
{
  "hex": "#131b6d",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 234.667,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28448,
    "c": 0.13908,
    "h": 269.7
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#131B6D
secondary
#A49A38
accent
#DD3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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