#141F7F#141F7F

#141F7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.158 H 268.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#141F7F
RGBrgb(20, 31, 127)
HSLhsl(234, 73%, 29%)
HSVhsv(234, 84%, 50%)
CMYKcmyk(84.3%, 75.6%, 0%, 50.2%)
CIE-LABlab(18.63, 33.05, -54.63)
CIE-LCHlch(18.63, 63.85, 301.17°)
OKLaboklab(31.22% -0.0037 -0.1583)
OKLCHoklch(31.22% 0.158 268.7)
XYZxyz(4.6079, 2.6605, 20.3452)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F7F #7F7414
analogous
#14557F #141F7F #3F147F
triadic
#141F7F #7F141F #1F7F14
tetradic
#141F7F #7F1455 #7F7414 #147F3F
square
#141F7F #7F1455 #7F7414 #147F3F
split-complementary
#141F7F #7F3F14 #557F14
monochromatic
#04061A #0C124A #141F7F #1C2CB4 #2F41DE

Accessibility & contrast

On white

13.71
#141F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#141F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F7F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F7F#FFFFFF#000000##FFFFFF
##141F7F1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #141f7f;
/* rgb */ color: rgb(20, 31, 127);
/* oklch */ color: oklch(31.2% 0.158 268.7);
Tailwind
colors: {
  custom: {
    50: '#685ba5',
    500: '#141f7f',
    950: '#000000',
  },
}
SCSS
$custom: #141f7f;
$custom-light: #685ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#141f7f",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 233.832,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31219,
    "c": 0.15836,
    "h": 268.7
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#141F7F
secondary
#B4A83B
accent
#DD38EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #141F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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