#141852#141852

#141852 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 25.0% C 0.104 H 273.1°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#141852
RGBrgb(20, 24, 82)
HSLhsl(236, 61%, 20%)
HSVhsv(236, 76%, 32%)
CMYKcmyk(75.6%, 70.7%, 0%, 67.8%)
CIE-LABlab(12.03, 20.31, -35.93)
CIE-LCHlch(12.03, 41.27, 299.48°)
OKLaboklab(24.99% 0.0056 -0.1037)
OKLCHoklch(24.99% 0.104 273.1)
XYZxyz(2.1376, 1.4110, 8.1407)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141852 #524E14
analogous
#143752 #141852 #2F1452
triadic
#141852 #521418 #185214
tetradic
#141852 #521437 #524E14 #14522F
square
#141852 #521437 #524E14 #14522F
split-complementary
#141852 #522F14 #375214
monochromatic
#060719 #080A21 #141852 #202683 #2C35B4

Accessibility & contrast

On white

16.38
#141852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#141852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141852
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141852#FFFFFF#000000##FFFFFF
##1418521.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001D51
Tritanopia (blue-blind)
#002732
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #141852;
/* rgb */ color: rgb(20, 24, 82);
/* oklch */ color: oklch(25.0% 0.104 273.1);
Tailwind
colors: {
  custom: {
    50: '#5c5583',
    500: '#141852',
    950: '#000000',
  },
}
SCSS
$custom: #141852;
$custom-light: #5c5583;
$custom-dark: #000000;
JSON
{
  "hex": "#141852",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 236.129,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.24989,
    "c": 0.1039,
    "h": 273.1
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#141852
secondary
#8A8538
accent
#DA44E4
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #141852

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

Preview Lab → · Contrast checker → · Palette generator →

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