#131B70#131B70

#131B70 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.143 H 269.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#131B70
RGBrgb(19, 27, 112)
HSLhsl(235, 71%, 26%)
HSVhsv(235, 83%, 44%)
CMYKcmyk(83%, 75.9%, 0%, 56.1%)
CIE-LABlab(15.96, 29.90, -49.41)
CIE-LCHlch(15.96, 57.76, 301.18°)
OKLaboklab(28.79% -0.001 -0.1431)
OKLCHoklch(28.79% 0.143 269.6)
XYZxyz(3.5841, 2.0918, 15.5409)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131B70 #706813
analogous
#134970 #131B70 #391370
triadic
#131B70 #70131B #1B7013
tetradic
#131B70 #701349 #706813 #137039
square
#131B70 #701349 #706813 #137039
split-complementary
#131B70 #703913 #497013
monochromatic
#04061A #0A0E3C #131B70 #1C28A4 #2534D9

Accessibility & contrast

On white

14.81
#131B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#131B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131B70
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131B70#FFFFFF#000000##FFFFFF
##131B701.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #131b70;
/* rgb */ color: rgb(19, 27, 112);
/* oklch */ color: oklch(28.8% 0.143 269.6);
Tailwind
colors: {
  custom: {
    50: '#64589a',
    500: '#131b70',
    950: '#000000',
  },
}
SCSS
$custom: #131b70;
$custom-light: #64589a;
$custom-dark: #000000;
JSON
{
  "hex": "#131b70",
  "rgb": {
    "r": 19,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 234.839,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28792,
    "c": 0.14314,
    "h": 269.6
  },
  "luminance": 0.02092
}

Semantic roles & 50–950 ramp

primary
#131B70
secondary
#A79D38
accent
#DE3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131B70

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

Preview Lab → · Contrast checker → · Palette generator →

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