#131275#131275

#131275 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.158 H 270.4°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#131275
RGBrgb(19, 18, 117)
HSLhsl(241, 73%, 26%)
HSVhsv(241, 85%, 46%)
CMYKcmyk(83.8%, 84.6%, 0%, 54.1%)
CIE-LABlab(14.71, 37.02, -54.73)
CIE-LCHlch(14.71, 66.07, 304.07°)
OKLaboklab(28.08% 0.0011 -0.1584)
OKLCHoklch(28.08% 0.158 270.4)
XYZxyz(3.6947, 1.8550, 16.9895)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131275 #747512
analogous
#124375 #131275 #451275
triadic
#131275 #751312 #127513
tetradic
#131275 #751243 #747512 #127545
square
#131275 #751243 #747512 #127545
split-complementary
#131275 #754512 #437512
monochromatic
#04041B #0A0A40 #131275 #1C1AAA #2624DD

Accessibility & contrast

On white

15.32
#131275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#131275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131275
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131275#FFFFFF#000000##FFFFFF
##1312751.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#002073
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131275;
/* rgb */ color: rgb(19, 18, 117);
/* oklch */ color: oklch(28.1% 0.158 270.4);
Tailwind
colors: {
  custom: {
    50: '#66539e',
    500: '#131275',
    950: '#000000',
  },
}
SCSS
$custom: #131275;
$custom-light: #66539e;
$custom-dark: #000000;
JSON
{
  "hex": "#131275",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 240.606,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28084,
    "c": 0.15844,
    "h": 270.4
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#131275
secondary
#AAAC37
accent
#F038EE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #131275

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

Preview Lab → · Contrast checker → · Palette generator →

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