#131774#131774

#131774 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.153 H 269.9°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#131774
RGBrgb(19, 23, 116)
HSLhsl(238, 72%, 26%)
HSVhsv(238, 84%, 45%)
CMYKcmyk(83.6%, 80.2%, 0%, 54.5%)
CIE-LABlab(15.55, 33.87, -52.69)
CIE-LCHlch(15.55, 62.63, 302.73°)
OKLaboklab(28.64% -0.0002 -0.1526)
OKLCHoklch(28.64% 0.153 269.9)
XYZxyz(3.7263, 2.0118, 16.7115)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131774 #747013
analogous
#134874 #131774 #401374
triadic
#131774 #741317 #177413
tetradic
#131774 #741348 #747013 #137440
square
#131774 #741348 #747013 #137440
split-complementary
#131774 #744013 #487413
monochromatic
#04051A #0A0D3F #131774 #1C21A9 #262DDB

Accessibility & contrast

On white

14.97
#131774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#131774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131774
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131774#FFFFFF#000000##FFFFFF
##1317741.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131774;
/* rgb */ color: rgb(19, 23, 116);
/* oklch */ color: oklch(28.6% 0.153 269.9);
Tailwind
colors: {
  custom: {
    50: '#65559d',
    500: '#131774',
    950: '#000000',
  },
}
SCSS
$custom: #131774;
$custom-light: #65559d;
$custom-dark: #000000;
JSON
{
  "hex": "#131774",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 237.526,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28637,
    "c": 0.15261,
    "h": 269.9
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#131774
secondary
#AAA638
accent
#E739EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131774

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

Preview Lab → · Contrast checker → · Palette generator →

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