#141862#141862

#141862 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.7% C 0.127 H 271.6°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#141862
RGBrgb(20, 24, 98)
HSLhsl(237, 66%, 23%)
HSVhsv(237, 80%, 38%)
CMYKcmyk(79.6%, 75.5%, 0%, 61.6%)
CIE-LABlab(13.73, 26.62, -43.90)
CIE-LCHlch(13.73, 51.35, 301.23°)
OKLaboklab(26.74% 0.0037 -0.1271)
OKLCHoklch(26.74% 0.127 271.6)
XYZxyz(2.8190, 1.6835, 11.7293)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141862 #625E14
analogous
#143F62 #141862 #371462
triadic
#141862 #621418 #186214
tetradic
#141862 #62143F #625E14 #146237
square
#141862 #62143F #625E14 #146237
split-complementary
#141862 #623714 #3F6214
monochromatic
#050619 #0A0C2F #141862 #1E2495 #2931C8

Accessibility & contrast

On white

15.71
#141862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#141862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141862
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141862#FFFFFF#000000##FFFFFF
##1418621.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002764
Deuteranopia (green-blind)
#001F61
Tritanopia (blue-blind)
#002D3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #141862;
/* rgb */ color: rgb(20, 24, 98);
/* oklch */ color: oklch(26.7% 0.127 271.6);
Tailwind
colors: {
  custom: {
    50: '#605590',
    500: '#141862',
    950: '#000000',
  },
}
SCSS
$custom: #141862;
$custom-light: #605590;
$custom-dark: #000000;
JSON
{
  "hex": "#141862",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 236.923,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26736,
    "c": 0.12711,
    "h": 271.6
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#141862
secondary
#999438
accent
#E03FE9
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #141862

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

Preview Lab → · Contrast checker → · Palette generator →

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