#131868#131868

#131868 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.136 H 270.7°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#131868
RGBrgb(19, 24, 104)
HSLhsl(236, 69%, 24%)
HSVhsv(236, 82%, 41%)
CMYKcmyk(81.7%, 76.9%, 0%, 59.2%)
CIE-LABlab(14.35, 28.82, -46.85)
CIE-LCHlch(14.35, 55.00, 301.60°)
OKLaboklab(27.37% 0.0015 -0.1357)
OKLCHoklch(27.37% 0.136 270.7)
XYZxyz(3.0930, 1.7908, 13.2767)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131868 #686313
analogous
#134368 #131868 #391368
triadic
#131868 #681318 #186813
tetradic
#131868 #681343 #686313 #136839
square
#131868 #681343 #686313 #136839
split-complementary
#131868 #683913 #436813
monochromatic
#05061A #0A0C34 #131868 #1C249C #2630CF

Accessibility & contrast

On white

15.46
#131868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131868
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131868#FFFFFF#000000##FFFFFF
##1318681.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.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: #131868;
/* rgb */ color: rgb(19, 24, 104);
/* oklch */ color: oklch(27.4% 0.136 270.7);
Tailwind
colors: {
  custom: {
    50: '#625594',
    500: '#131868',
    950: '#000000',
  },
}
SCSS
$custom: #131868;
$custom-light: #625594;
$custom-dark: #000000;
JSON
{
  "hex": "#131868",
  "rgb": {
    "r": 19,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 236.471,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27366,
    "c": 0.13567,
    "h": 270.7
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#131868
secondary
#9F9937
accent
#E23CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #131868

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

Preview Lab → · Contrast checker → · Palette generator →

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