#131766#131766

#131766 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.134 H 271.0°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#131766
RGBrgb(19, 23, 102)
HSLhsl(237, 69%, 24%)
HSVhsv(237, 81%, 40%)
CMYKcmyk(81.4%, 77.5%, 0%, 60%)
CIE-LABlab(13.89, 28.71, -46.30)
CIE-LCHlch(13.89, 54.47, 301.80°)
OKLaboklab(26.97% 0.0023 -0.134)
OKLCHoklch(26.97% 0.134 271)
XYZxyz(2.9724, 1.7102, 12.7412)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131766 #666213
analogous
#134066 #131766 #381366
triadic
#131766 #661317 #176613
tetradic
#131766 #661340 #666213 #136638
square
#131766 #661340 #666213 #136638
split-complementary
#131766 #663813 #406613
monochromatic
#05061A #090B32 #131766 #1D239A #262ECD

Accessibility & contrast

On white

15.65
#131766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#131766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131766
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131766#FFFFFF#000000##FFFFFF
##1317661.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#001F65
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #131766;
/* rgb */ color: rgb(19, 23, 102);
/* oklch */ color: oklch(27.0% 0.134 271.0);
Tailwind
colors: {
  custom: {
    50: '#615593',
    500: '#131766',
    950: '#000000',
  },
}
SCSS
$custom: #131766;
$custom-light: #615593;
$custom-dark: #000000;
JSON
{
  "hex": "#131766",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 237.108,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26967,
    "c": 0.13407,
    "h": 271
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#131766
secondary
#9D9937
accent
#E33CEB
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #131766

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

Preview Lab → · Contrast checker → · Palette generator →

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