#141254#141254

#141254 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.1% C 0.114 H 274.9°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#141254
RGBrgb(20, 18, 84)
HSLhsl(242, 65%, 20%)
HSVhsv(242, 79%, 33%)
CMYKcmyk(76.2%, 78.6%, 0%, 67.1%)
CIE-LABlab(10.71, 25.26, -39.46)
CIE-LCHlch(10.71, 46.85, 302.63°)
OKLaboklab(24.1% 0.0098 -0.1141)
OKLCHoklch(24.1% 0.114 274.9)
XYZxyz(2.1045, 1.2212, 8.5106)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141254 #525412
analogous
#123154 #141254 #351254
triadic
#141254 #541412 #125414
tetradic
#141254 #541231 #525412 #125435
square
#141254 #541231 #525412 #125435
split-complementary
#141254 #543512 #315412
monochromatic
#060519 #080722 #141254 #201D86 #2C28B9

Accessibility & contrast

On white

16.88
#141254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#141254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141254
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141254#FFFFFF#000000##FFFFFF
##1412541.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #141254;
/* rgb */ color: rgb(20, 18, 84);
/* oklch */ color: oklch(24.1% 0.114 274.9);
Tailwind
colors: {
  custom: {
    50: '#5d5085',
    500: '#141254',
    950: '#000000',
  },
}
SCSS
$custom: #141254;
$custom-light: #5d5085;
$custom-dark: #000000;
JSON
{
  "hex": "#141254",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 241.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.24103,
    "c": 0.11449,
    "h": 274.9
  },
  "luminance": 0.01221
}

Semantic roles & 50–950 ramp

primary
#141254
secondary
#8A8D35
accent
#E840E3
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #141254

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

Preview Lab → · Contrast checker → · Palette generator →

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