#131768#131768

#131768 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.2% C 0.137 H 270.8°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#131768
RGBrgb(19, 23, 104)
HSLhsl(237, 69%, 24%)
HSVhsv(237, 82%, 41%)
CMYKcmyk(81.7%, 77.9%, 0%, 59.2%)
CIE-LABlab(14.12, 29.46, -47.23)
CIE-LCHlch(14.12, 55.67, 301.95°)
OKLaboklab(27.2% 0.002 -0.1368)
OKLCHoklch(27.2% 0.137 270.8)
XYZxyz(3.0728, 1.7504, 13.2699)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131768 #686413
analogous
#134268 #131768 #3A1368
triadic
#131768 #681317 #176813
tetradic
#131768 #681342 #686413 #13683A
square
#131768 #681342 #686413 #13683A
split-complementary
#131768 #683A13 #426813
monochromatic
#05061A #0A0C34 #131768 #1C229C #262ECF

Accessibility & contrast

On white

15.55
#131768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#131768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131768
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131768#FFFFFF#000000##FFFFFF
##1317681.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002067
Tritanopia (blue-blind)
#002F3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131768;
/* rgb */ color: rgb(19, 23, 104);
/* oklch */ color: oklch(27.2% 0.137 270.8);
Tailwind
colors: {
  custom: {
    50: '#625594',
    500: '#131768',
    950: '#000000',
  },
}
SCSS
$custom: #131768;
$custom-light: #625594;
$custom-dark: #000000;
JSON
{
  "hex": "#131768",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 237.176,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27202,
    "c": 0.13677,
    "h": 270.8
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#131768
secondary
#9F9A37
accent
#E43CEC
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #131768

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

Preview Lab → · Contrast checker → · Palette generator →

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