#141857#141857

#141857 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.111 H 272.6°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#141857
RGBrgb(20, 24, 87)
HSLhsl(236, 63%, 21%)
HSVhsv(236, 77%, 34%)
CMYKcmyk(77%, 72.4%, 0%, 65.9%)
CIE-LABlab(12.54, 22.31, -38.48)
CIE-LCHlch(12.54, 44.48, 300.11°)
OKLaboklab(25.52% 0.0051 -0.1112)
OKLCHoklch(25.52% 0.111 272.6)
XYZxyz(2.3348, 1.4899, 9.1795)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141857 #575314
analogous
#143957 #141857 #311457
triadic
#141857 #571418 #185714
tetradic
#141857 #571439 #575314 #145731
square
#141857 #571439 #575314 #145731
split-complementary
#141857 #573114 #395714
monochromatic
#060719 #090A25 #141857 #1F2689 #2B33BB

Accessibility & contrast

On white

16.18
#141857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#141857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141857
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141857#FFFFFF#000000##FFFFFF
##1418571.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#001D56
Tritanopia (blue-blind)
#002935
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #141857;
/* rgb */ color: rgb(20, 24, 87);
/* oklch */ color: oklch(25.5% 0.111 272.6);
Tailwind
colors: {
  custom: {
    50: '#5d5587',
    500: '#141857',
    950: '#000000',
  },
}
SCSS
$custom: #141857;
$custom-light: #5d5587;
$custom-dark: #000000;
JSON
{
  "hex": "#141857",
  "rgb": {
    "r": 20,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 236.418,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2552,
    "c": 0.11135,
    "h": 272.6
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#141857
secondary
#8F8A38
accent
#DC42E6
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #141857

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

Preview Lab → · Contrast checker → · Palette generator →

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