#131B6E#131B6E

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

Color values

HEX#131B6E
RGBrgb(19, 27, 110)
HSLhsl(235, 71%, 25%)
HSVhsv(235, 83%, 43%)
CMYKcmyk(82.7%, 75.5%, 0%, 56.9%)
CIE-LABlab(15.74, 29.14, -48.49)
CIE-LCHlch(15.74, 56.57, 301.01°)
OKLaboklab(28.56% -0.0008 -0.1404)
OKLCHoklch(28.56% 0.14 269.7)
XYZxyz(3.4740, 2.0477, 14.9610)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B6E #6E6613
analogous
#13496E #131B6E #38136E
triadic
#131B6E #6E131B #1B6E13
tetradic
#131B6E #6E1349 #6E6613 #136E38
square
#131B6E #6E1349 #6E6613 #136E38
split-complementary
#131B6E #6E3813 #496E13
monochromatic
#05061A #0A0E3A #131B6E #1C28A2 #2535D6

Accessibility & contrast

On white

14.90
#131B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131B6E
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B6E#FFFFFF#000000##FFFFFF
##131B6E1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131b6e;
/* rgb */ color: rgb(19, 27, 110);
/* oklch */ color: oklch(28.6% 0.140 269.7);
Tailwind
colors: {
  custom: {
    50: '#635899',
    500: '#131b6e',
    950: '#000000',
  },
}
SCSS
$custom: #131b6e;
$custom-light: #635899;
$custom-dark: #000000;
JSON
{
  "hex": "#131b6e",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 110
  },
  "hsl": {
    "h": 234.725,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28562,
    "c": 0.14044,
    "h": 269.7
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#131B6E
secondary
#A59B38
accent
#DE3AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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