#141257#141257

#141257 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.119 H 274.4°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#141257
RGBrgb(20, 18, 87)
HSLhsl(242, 66%, 21%)
HSVhsv(242, 79%, 34%)
CMYKcmyk(77%, 79.3%, 0%, 65.9%)
CIE-LABlab(11.06, 26.39, -40.93)
CIE-LCHlch(11.06, 48.70, 302.81°)
OKLaboklab(24.45% 0.0091 -0.1183)
OKLCHoklch(24.45% 0.119 274.4)
XYZxyz(2.2245, 1.2692, 9.1427)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141257 #555712
analogous
#123257 #141257 #361257
triadic
#141257 #571412 #125714
tetradic
#141257 #571232 #555712 #125736
square
#141257 #571232 #555712 #125736
split-complementary
#141257 #573612 #325712
monochromatic
#060519 #080824 #141257 #201C8A #2B27BC

Accessibility & contrast

On white

16.75
#141257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141257
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141257#FFFFFF#000000##FFFFFF
##1412571.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002159
Deuteranopia (green-blind)
#001A56
Tritanopia (blue-blind)
#002633
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #141257;
/* rgb */ color: rgb(20, 18, 87);
/* oklch */ color: oklch(24.5% 0.119 274.4);
Tailwind
colors: {
  custom: {
    50: '#5e5187',
    500: '#141257',
    950: '#000000',
  },
}
SCSS
$custom: #141257;
$custom-light: #5e5187;
$custom-dark: #000000;
JSON
{
  "hex": "#141257",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 241.739,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.24453,
    "c": 0.1187,
    "h": 274.4
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#141257
secondary
#8D9035
accent
#E93FE4
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #141257

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

Preview Lab → · Contrast checker → · Palette generator →

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