#141258#141258

#141258 is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.6% C 0.120 H 274.3°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#141258
RGBrgb(20, 18, 88)
HSLhsl(242, 66%, 21%)
HSVhsv(242, 80%, 35%)
CMYKcmyk(77.3%, 79.5%, 0%, 65.5%)
CIE-LABlab(11.18, 26.77, -41.41)
CIE-LCHlch(11.18, 49.31, 302.87°)
OKLaboklab(24.57% 0.0089 -0.1198)
OKLCHoklch(24.57% 0.12 274.3)
XYZxyz(2.2657, 1.2857, 9.3594)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141258 #565812
analogous
#123358 #141258 #371258
triadic
#141258 #581412 #125814
tetradic
#141258 #581233 #565812 #125837
square
#141258 #581233 #565812 #125837
split-complementary
#141258 #583712 #335812
monochromatic
#060519 #080825 #141258 #201C8B #2B27BE

Accessibility & contrast

On white

16.70
#141258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#141258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141258
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141258#FFFFFF#000000##FFFFFF
##1412581.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215A
Deuteranopia (green-blind)
#001B57
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #141258;
/* rgb */ color: rgb(20, 18, 88);
/* oklch */ color: oklch(24.6% 0.120 274.3);
Tailwind
colors: {
  custom: {
    50: '#5e5188',
    500: '#141258',
    950: '#000000',
  },
}
SCSS
$custom: #141258;
$custom-light: #5e5188;
$custom-dark: #000000;
JSON
{
  "hex": "#141258",
  "rgb": {
    "r": 20,
    "g": 18,
    "b": 88
  },
  "hsl": {
    "h": 241.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2457,
    "c": 0.1201,
    "h": 274.3
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #141258

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

Preview Lab → · Contrast checker → · Palette generator →

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