#141F56#141F56

#141F56 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.9% C 0.100 H 269.7°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#141F56
RGBrgb(20, 31, 86)
HSLhsl(230, 62%, 21%)
HSVhsv(230, 77%, 34%)
CMYKcmyk(76.7%, 64%, 0%, 66.3%)
CIE-LABlab(14.40, 16.81, -34.77)
CIE-LCHlch(14.40, 38.62, 295.80°)
OKLaboklab(26.86% -0.0005 -0.1003)
OKLCHoklch(26.86% 0.1 269.7)
XYZxyz(2.4576, 1.8003, 9.0203)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F56 #564B14
analogous
#144056 #141F56 #2A1456
triadic
#141F56 #56141F #1F5614
tetradic
#141F56 #561440 #564B14 #14562A
square
#141F56 #561440 #564B14 #14562A
split-complementary
#141F56 #562A14 #405614
monochromatic
#060919 #080D24 #141F56 #203188 #2B43B9

Accessibility & contrast

On white

15.44
#141F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#141F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F56
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F56#FFFFFF#000000##FFFFFF
##141F561.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #141f56;
/* rgb */ color: rgb(20, 31, 86);
/* oklch */ color: oklch(26.9% 0.100 269.7);
Tailwind
colors: {
  custom: {
    50: '#5c5a86',
    500: '#141f56',
    950: '#000000',
  },
}
SCSS
$custom: #141f56;
$custom-light: #5c5a86;
$custom-dark: #000000;
JSON
{
  "hex": "#141f56",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 230,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26857,
    "c": 0.10028,
    "h": 269.7
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#141F56
secondary
#8E8038
accent
#CA42E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #141F56

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

Preview Lab → · Contrast checker → · Palette generator →

#141F56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva