#141F7E#141F7E

#141F7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.157 H 268.7°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#141F7E
RGBrgb(20, 31, 126)
HSLhsl(234, 73%, 29%)
HSVhsv(234, 84%, 49%)
CMYKcmyk(84.1%, 75.4%, 0%, 50.6%)
CIE-LABlab(18.52, 32.68, -54.19)
CIE-LCHlch(18.52, 63.28, 301.09°)
OKLaboklab(31.11% -0.0036 -0.157)
OKLCHoklch(31.11% 0.157 268.7)
XYZxyz(4.5431, 2.6345, 20.0037)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F7E #7E7314
analogous
#14547E #141F7E #3E147E
triadic
#141F7E #7E141F #1F7E14
tetradic
#141F7E #7E1454 #7E7314 #147E3E
square
#141F7E #7E1454 #7E7314 #147E3E
split-complementary
#141F7E #7E3E14 #547E14
monochromatic
#04061A #0C1249 #141F7E #1C2CB3 #2E41DE

Accessibility & contrast

On white

13.75
#141F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141F7E
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F7E#FFFFFF#000000##FFFFFF
##141F7E1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #141f7e;
/* rgb */ color: rgb(20, 31, 126);
/* oklch */ color: oklch(31.1% 0.157 268.7);
Tailwind
colors: {
  custom: {
    50: '#685ba4',
    500: '#141f7e',
    950: '#000000',
  },
}
SCSS
$custom: #141f7e;
$custom-light: #685ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#141f7e",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 233.774,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31105,
    "c": 0.15705,
    "h": 268.7
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#141F7E
secondary
#B3A73A
accent
#DC38EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #141F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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