#141F46#141F46

#141F46 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.4% C 0.075 H 268.8°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#141F46
RGBrgb(20, 31, 70)
HSLhsl(227, 56%, 18%)
HSVhsv(227, 71%, 27%)
CMYKcmyk(71.4%, 55.7%, 0%, 72.5%)
CIE-LABlab(13.05, 10.09, -26.01)
CIE-LCHlch(13.05, 27.90, 291.20°)
OKLaboklab(25.41% -0.0016 -0.0745)
OKLCHoklch(25.41% 0.075 268.8)
XYZxyz(1.8836, 1.5707, 5.9971)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F46 #463B14
analogous
#143846 #141F46 #221446
triadic
#141F46 #46141F #1F4614
tetradic
#141F46 #461438 #463B14 #144622
square
#141F46 #461438 #463B14 #144622
split-complementary
#141F46 #462214 #384614
monochromatic
#070B18 #070B18 #141F46 #223476 #2F49A5

Accessibility & contrast

On white

15.98
#141F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#141F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F46
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F46#FFFFFF#000000##FFFFFF
##141F461.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2447
Deuteranopia (green-blind)
#012045
Tritanopia (blue-blind)
#00282F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #141f46;
/* rgb */ color: rgb(20, 31, 70);
/* oklch */ color: oklch(25.4% 0.075 268.8);
Tailwind
colors: {
  custom: {
    50: '#585a7a',
    500: '#141f46',
    950: '#000000',
  },
}
SCSS
$custom: #141f46;
$custom-light: #585a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#141f46",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 70
  },
  "hsl": {
    "h": 226.8,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.25414,
    "c": 0.07453,
    "h": 268.8
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#141F46
secondary
#7E6F38
accent
#BE49DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #141F46

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

Preview Lab → · Contrast checker → · Palette generator →

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