#141F5A#141F5A

#141F5A is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.106 H 269.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#141F5A
RGBrgb(20, 31, 90)
HSLhsl(231, 64%, 22%)
HSVhsv(231, 78%, 35%)
CMYKcmyk(77.8%, 65.6%, 0%, 64.7%)
CIE-LABlab(14.77, 18.47, -36.86)
CIE-LCHlch(14.77, 41.23, 296.61°)
OKLaboklab(27.25% -0.0005 -0.1064)
OKLCHoklch(27.25% 0.106 269.7)
XYZxyz(2.6233, 1.8666, 9.8929)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F5A #5A4F14
analogous
#14425A #141F5A #2C145A
triadic
#141F5A #5A141F #1F5A14
tetradic
#141F5A #5A1442 #5A4F14 #145A2C
square
#141F5A #5A1442 #5A4F14 #145A2C
split-complementary
#141F5A #5A2C14 #425A14
monochromatic
#060919 #090E28 #141F5A #1F308C #2A41BE

Accessibility & contrast

On white

15.29
#141F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#141F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F5A
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F5A#FFFFFF#000000##FFFFFF
##141F5A1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#002E39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #141f5a;
/* rgb */ color: rgb(20, 31, 90);
/* oklch */ color: oklch(27.2% 0.106 269.7);
Tailwind
colors: {
  custom: {
    50: '#5d5a89',
    500: '#141f5a',
    950: '#000000',
  },
}
SCSS
$custom: #141f5a;
$custom-light: #5d5a89;
$custom-dark: #000000;
JSON
{
  "hex": "#141f5a",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 230.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27246,
    "c": 0.10641,
    "h": 269.7
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#141F5A
secondary
#928438
accent
#CD41E7
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #141F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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