#141252#141252

#141252 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.112 H 275.2°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#141252
RGBrgb(20, 18, 82)
HSLhsl(242, 64%, 20%)
HSVhsv(242, 78%, 32%)
CMYKcmyk(75.6%, 78%, 0%, 67.8%)
CIE-LABlab(10.49, 24.50, -38.46)
CIE-LCHlch(10.49, 45.60, 302.50°)
OKLaboklab(23.87% 0.0102 -0.1112)
OKLCHoklch(23.87% 0.112 275.2)
XYZxyz(2.0273, 1.1903, 8.1039)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141252 #505212
analogous
#123052 #141252 #341252
triadic
#141252 #521412 #125214
tetradic
#141252 #521230 #505212 #125234
square
#141252 #521230 #505212 #125234
split-complementary
#141252 #523412 #305212
monochromatic
#060619 #080720 #141252 #201D84 #2C28B6

Accessibility & contrast

On white

16.96
#141252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141252
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141252#FFFFFF#000000##FFFFFF
##1412521.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001A51
Tritanopia (blue-blind)
#002430
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #141252;
/* rgb */ color: rgb(20, 18, 82);
/* oklch */ color: oklch(23.9% 0.112 275.2);
Tailwind
colors: {
  custom: {
    50: '#5c5083',
    500: '#141252',
    950: '#000000',
  },
}
SCSS
$custom: #141252;
$custom-light: #5c5083;
$custom-dark: #000000;
JSON
{
  "hex": "#141252",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 82
  },
  "hsl": {
    "h": 241.875,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23873,
    "c": 0.11163,
    "h": 275.2
  },
  "luminance": 0.01191
}

Semantic roles & 50–950 ramp

primary
#141252
secondary
#888B35
accent
#E741E2
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #141252

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

Preview Lab → · Contrast checker → · Palette generator →

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