#131866#131866

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

Color values

HEX#131866
RGBrgb(19, 24, 102)
HSLhsl(236, 69%, 24%)
HSVhsv(236, 81%, 40%)
CMYKcmyk(81.4%, 76.5%, 0%, 60%)
CIE-LABlab(14.12, 28.06, -45.91)
CIE-LCHlch(14.12, 53.80, 301.43°)
OKLaboklab(27.14% 0.0019 -0.1329)
OKLCHoklch(27.14% 0.133 270.8)
XYZxyz(2.9927, 1.7507, 12.7480)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131866 #666113
analogous
#134166 #131866 #371366
triadic
#131866 #661318 #186613
tetradic
#131866 #661341 #666113 #136637
square
#131866 #661341 #666113 #136637
split-complementary
#131866 #663713 #416613
monochromatic
#05061A #090C32 #131866 #1D249A #2630CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##131866#FFFFFF#000000##FFFFFF
##1318661.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)
#002868
Deuteranopia (green-blind)
#002065
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131866;
/* rgb */ color: rgb(19, 24, 102);
/* oklch */ color: oklch(27.1% 0.133 270.8);
Tailwind
colors: {
  custom: {
    50: '#615593',
    500: '#131866',
    950: '#000000',
  },
}
SCSS
$custom: #131866;
$custom-light: #615593;
$custom-dark: #000000;
JSON
{
  "hex": "#131866",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 102
  },
  "hsl": {
    "h": 236.386,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27135,
    "c": 0.13294,
    "h": 270.8
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#131866
secondary
#9D9737
accent
#E13CEB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #131866

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

Preview Lab → · Contrast checker → · Palette generator →

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