#131770#131770

#131770 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.147 H 270.2°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#131770
RGBrgb(19, 23, 112)
HSLhsl(237, 71%, 26%)
HSVhsv(237, 83%, 44%)
CMYKcmyk(83%, 79.5%, 0%, 56.1%)
CIE-LABlab(15.07, 32.42, -50.90)
CIE-LCHlch(15.07, 60.34, 302.50°)
OKLaboklab(28.15% 0.0006 -0.1474)
OKLCHoklch(28.15% 0.147 270.2)
XYZxyz(3.4986, 1.9207, 15.5124)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131770 #706C13
analogous
#134570 #131770 #3D1370
triadic
#131770 #701317 #177013
tetradic
#131770 #701345 #706C13 #13703D
square
#131770 #701345 #706C13 #13703D
split-complementary
#131770 #703D13 #457013
monochromatic
#04051A #0A0C3C #131770 #1C22A4 #252CD9

Accessibility & contrast

On white

15.17
#131770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#131770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131770
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131770#FFFFFF#000000##FFFFFF
##1317701.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A73
Deuteranopia (green-blind)
#00216E
Tritanopia (blue-blind)
#003242
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131770;
/* rgb */ color: rgb(19, 23, 112);
/* oklch */ color: oklch(28.2% 0.147 270.2);
Tailwind
colors: {
  custom: {
    50: '#64559a',
    500: '#131770',
    950: '#000000',
  },
}
SCSS
$custom: #131770;
$custom-light: #64559a;
$custom-dark: #000000;
JSON
{
  "hex": "#131770",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 237.419,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28154,
    "c": 0.14741,
    "h": 270.2
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#131770
secondary
#A7A238
accent
#E63AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131770

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

Preview Lab → · Contrast checker → · Palette generator →

#131770 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva