#141F7D#141F7D

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

Color values

HEX#141F7D
RGBrgb(20, 31, 125)
HSLhsl(234, 72%, 28%)
HSVhsv(234, 84%, 49%)
CMYKcmyk(84%, 75.2%, 0%, 51%)
CIE-LABlab(18.40, 32.31, -53.74)
CIE-LCHlch(18.40, 62.70, 301.02°)
OKLaboklab(30.99% -0.0034 -0.1557)
OKLCHoklch(30.99% 0.156 268.7)
XYZxyz(4.4789, 2.6088, 19.6656)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F7D #7D7214
analogous
#14537D #141F7D #3D147D
triadic
#141F7D #7D141F #1F7D14
tetradic
#141F7D #7D1453 #7D7214 #147D3D
square
#141F7D #7D1453 #7D7214 #147D3D
split-complementary
#141F7D #7D3D14 #537D14
monochromatic
#04071A #0C1248 #141F7D #1C2CB2 #2E40DE

Accessibility & contrast

On white

13.80
#141F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#141F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F7D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F7D#FFFFFF#000000##FFFFFF
##141F7D1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #141f7d;
/* rgb */ color: rgb(20, 31, 125);
/* oklch */ color: oklch(31.0% 0.156 268.7);
Tailwind
colors: {
  custom: {
    50: '#675ba4',
    500: '#141f7d',
    950: '#000000',
  },
}
SCSS
$custom: #141f7d;
$custom-light: #675ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#141f7d",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 125
  },
  "hsl": {
    "h": 233.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30991,
    "c": 0.15574,
    "h": 268.7
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#141F7D
secondary
#B2A63A
accent
#DC39EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #141F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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