#141F4E#141F4E

#141F4E is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.088 H 269.5°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#141F4E
RGBrgb(20, 31, 78)
HSLhsl(229, 59%, 19%)
HSVhsv(229, 74%, 31%)
CMYKcmyk(74.4%, 60.3%, 0%, 69.4%)
CIE-LABlab(13.70, 13.46, -30.47)
CIE-LCHlch(13.70, 33.31, 293.83°)
OKLaboklab(26.11% -0.0008 -0.0876)
OKLCHoklch(26.11% 0.088 269.5)
XYZxyz(2.1532, 1.6785, 7.4168)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F4E #4E4314
analogous
#143C4E #141F4E #26144E
triadic
#141F4E #4E141F #1F4E14
tetradic
#141F4E #4E143C #4E4314 #144E26
square
#141F4E #4E143C #4E4314 #144E26
split-complementary
#141F4E #4E2614 #3C4E14
monochromatic
#060A18 #080C1D #141F4E #20327F #2D46AF

Accessibility & contrast

On white

15.72
#141F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#141F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F4E
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F4E#FFFFFF#000000##FFFFFF
##141F4E1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#00204D
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #141f4e;
/* rgb */ color: rgb(20, 31, 78);
/* oklch */ color: oklch(26.1% 0.088 269.5);
Tailwind
colors: {
  custom: {
    50: '#5a5a80',
    500: '#141f4e',
    950: '#000000',
  },
}
SCSS
$custom: #141f4e;
$custom-light: #5a5a80;
$custom-dark: #000000;
JSON
{
  "hex": "#141f4e",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 228.621,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26112,
    "c": 0.08764,
    "h": 269.5
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#141F4E
secondary
#867738
accent
#C545E2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #141F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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