#131773#131773

#131773 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.151 H 270.0°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#131773
RGBrgb(19, 23, 115)
HSLhsl(238, 72%, 26%)
HSVhsv(238, 83%, 45%)
CMYKcmyk(83.5%, 80%, 0%, 54.9%)
CIE-LABlab(15.43, 33.51, -52.24)
CIE-LCHlch(15.43, 62.07, 302.68°)
OKLaboklab(28.52% 0 -0.1513)
OKLCHoklch(28.52% 0.151 270)
XYZxyz(3.6684, 1.9886, 16.4068)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131773 #736F13
analogous
#134773 #131773 #3F1373
triadic
#131773 #731317 #177313
tetradic
#131773 #731347 #736F13 #13733F
square
#131773 #731347 #736F13 #13733F
split-complementary
#131773 #733F13 #477313
monochromatic
#04051A #0A0C3E #131773 #1C22A8 #252DDB

Accessibility & contrast

On white

15.02
#131773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131773
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131773#FFFFFF#000000##FFFFFF
##1317731.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002271
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #131773;
/* rgb */ color: rgb(19, 23, 115);
/* oklch */ color: oklch(28.5% 0.151 270.0);
Tailwind
colors: {
  custom: {
    50: '#65559c',
    500: '#131773',
    950: '#000000',
  },
}
SCSS
$custom: #131773;
$custom-light: #65559c;
$custom-dark: #000000;
JSON
{
  "hex": "#131773",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 237.5,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28516,
    "c": 0.15132,
    "h": 270
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#131773
secondary
#AAA538
accent
#E739EE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131773

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

Preview Lab → · Contrast checker → · Palette generator →

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