#131266#131266

#131266 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.139 H 271.8°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#131266
RGBrgb(19, 18, 102)
HSLhsl(241, 70%, 24%)
HSVhsv(241, 82%, 40%)
CMYKcmyk(81.4%, 82.4%, 0%, 60%)
CIE-LABlab(12.80, 31.79, -48.10)
CIE-LCHlch(12.80, 57.65, 303.46°)
OKLaboklab(26.2% 0.0045 -0.1392)
OKLCHoklch(26.2% 0.139 271.8)
XYZxyz(2.8823, 1.5301, 12.7112)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131266 #656612
analogous
#123B66 #131266 #3D1266
triadic
#131266 #661312 #126613
tetradic
#131266 #66123B #656612 #12663D
square
#131266 #66123B #656612 #12663D
split-complementary
#131266 #663D12 #3B6612
monochromatic
#05051A #090932 #131266 #1D1B9A #2624CE

Accessibility & contrast

On white

16.08
#131266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#131266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131266
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131266#FFFFFF#000000##FFFFFF
##1312661.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002568
Deuteranopia (green-blind)
#001D65
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #131266;
/* rgb */ color: rgb(19, 18, 102);
/* oklch */ color: oklch(26.2% 0.139 271.8);
Tailwind
colors: {
  custom: {
    50: '#625193',
    500: '#131266',
    950: '#000000',
  },
}
SCSS
$custom: #131266;
$custom-light: #625193;
$custom-dark: #000000;
JSON
{
  "hex": "#131266",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 240.714,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26197,
    "c": 0.13929,
    "h": 271.8
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#131266
secondary
#9D9E36
accent
#ED3BEB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #131266

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

Preview Lab → · Contrast checker → · Palette generator →

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