#13154C#13154C

#13154C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.099 H 274.3°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#13154C
RGBrgb(19, 21, 76)
HSLhsl(238, 60%, 19%)
HSVhsv(238, 75%, 30%)
CMYKcmyk(75%, 72.4%, 0%, 70.2%)
CIE-LABlab(10.53, 19.92, -34.26)
CIE-LCHlch(10.53, 39.63, 300.17°)
OKLaboklab(23.69% 0.0074 -0.0989)
OKLCHoklch(23.69% 0.099 274.3)
XYZxyz(1.8408, 1.1964, 6.9700)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13154C #4C4A13
analogous
#13314C #13154C #2D134C
triadic
#13154C #4C1315 #154C13
tetradic
#13154C #4C1331 #4C4A13 #134C2D
square
#13154C #4C1331 #4C4A13 #134C2D
split-complementary
#13154C #4C2D13 #314C13
monochromatic
#060718 #07071B #13154C #1F237D #2B30AE

Accessibility & contrast

On white

16.94
#13154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13154C
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13154C#FFFFFF#000000##FFFFFF
##13154C1.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001A4B
Tritanopia (blue-blind)
#00232E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #13154c;
/* rgb */ color: rgb(19, 21, 76);
/* oklch */ color: oklch(23.7% 0.099 274.3);
Tailwind
colors: {
  custom: {
    50: '#5a527f',
    500: '#13154c',
    950: '#000000',
  },
}
SCSS
$custom: #13154c;
$custom-light: #5a527f;
$custom-dark: #000000;
JSON
{
  "hex": "#13154c",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 237.895,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23688,
    "c": 0.09919,
    "h": 274.3
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#13154C
secondary
#858236
accent
#DE45E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #13154C

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

Preview Lab → · Contrast checker → · Palette generator →

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