#141256#141256

#141256 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.3% C 0.117 H 274.6°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#141256
RGBrgb(20, 18, 86)
HSLhsl(242, 65%, 20%)
HSVhsv(242, 79%, 34%)
CMYKcmyk(76.7%, 79.1%, 0%, 66.3%)
CIE-LABlab(10.94, 26.02, -40.44)
CIE-LCHlch(10.94, 48.08, 302.75°)
OKLaboklab(24.34% 0.0094 -0.1169)
OKLCHoklch(24.34% 0.117 274.6)
XYZxyz(2.1840, 1.2530, 8.9291)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141256 #545612
analogous
#123256 #141256 #361256
triadic
#141256 #561412 #125614
tetradic
#141256 #561232 #545612 #125636
square
#141256 #561232 #545612 #125636
split-complementary
#141256 #563612 #325612
monochromatic
#060519 #080723 #141256 #201D89 #2C27BB

Accessibility & contrast

On white

16.79
#141256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#141256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141256
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141256#FFFFFF#000000##FFFFFF
##1412561.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002532
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #141256;
/* rgb */ color: rgb(20, 18, 86);
/* oklch */ color: oklch(24.3% 0.117 274.6);
Tailwind
colors: {
  custom: {
    50: '#5e5086',
    500: '#141256',
    950: '#000000',
  },
}
SCSS
$custom: #141256;
$custom-light: #5e5086;
$custom-dark: #000000;
JSON
{
  "hex": "#141256",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 241.765,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24336,
    "c": 0.1173,
    "h": 274.6
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#141256
secondary
#8C8F35
accent
#E83FE3
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #141256

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

Preview Lab → · Contrast checker → · Palette generator →

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