#13154E#13154E

#13154E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.102 H 274.0°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#13154E
RGBrgb(19, 21, 78)
HSLhsl(238, 61%, 19%)
HSVhsv(238, 76%, 31%)
CMYKcmyk(75.6%, 73.1%, 0%, 69.4%)
CIE-LABlab(10.74, 20.72, -35.30)
CIE-LCHlch(10.74, 40.93, 300.41°)
OKLaboklab(23.9% 0.0071 -0.102)
OKLCHoklch(23.9% 0.102 274)
XYZxyz(1.9114, 1.2247, 7.3419)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13154E #4E4C13
analogous
#13334E #13154E #2F134E
triadic
#13154E #4E1315 #154E13
tetradic
#13154E #4E1333 #4E4C13 #134E2F
square
#13154E #4E1333 #4E4C13 #134E2F
split-complementary
#13154E #4E2F13 #334E13
monochromatic
#060719 #07081D #13154E #1F227F #2B2FB0

Accessibility & contrast

On white

16.87
#13154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#13154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13154E
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13154E#FFFFFF#000000##FFFFFF
##13154E1.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#00242F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #13154e;
/* rgb */ color: rgb(19, 21, 78);
/* oklch */ color: oklch(23.9% 0.102 274.0);
Tailwind
colors: {
  custom: {
    50: '#5b5280',
    500: '#13154e',
    950: '#000000',
  },
}
SCSS
$custom: #13154e;
$custom-light: #5b5280;
$custom-dark: #000000;
JSON
{
  "hex": "#13154e",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 237.966,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23902,
    "c": 0.10222,
    "h": 274
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#13154E
secondary
#878436
accent
#DF44E4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #13154E

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

Preview Lab → · Contrast checker → · Palette generator →

#13154E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva