#141F4D#141F4D

#141F4D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.086 H 269.4°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#141F4D
RGBrgb(20, 31, 77)
HSLhsl(228, 59%, 19%)
HSVhsv(228, 74%, 30%)
CMYKcmyk(74%, 59.7%, 0%, 69.8%)
CIE-LABlab(13.62, 13.04, -29.92)
CIE-LCHlch(13.62, 32.64, 293.54°)
OKLaboklab(26.02% -0.0009 -0.086)
OKLCHoklch(26.02% 0.086 269.4)
XYZxyz(2.1176, 1.6643, 7.2294)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F4D #4D4214
analogous
#143C4D #141F4D #26144D
triadic
#141F4D #4D141F #1F4D14
tetradic
#141F4D #4D143C #4D4214 #144D26
square
#141F4D #4D143C #4D4214 #144D26
split-complementary
#141F4D #4D2614 #3C4D14
monochromatic
#060A18 #070B1C #141F4D #21337E #2D46AE

Accessibility & contrast

On white

15.75
#141F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#141F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F4D
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F4D#FFFFFF#000000##FFFFFF
##141F4D1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #141f4d;
/* rgb */ color: rgb(20, 31, 77);
/* oklch */ color: oklch(26.0% 0.086 269.4);
Tailwind
colors: {
  custom: {
    50: '#5a5a7f',
    500: '#141f4d',
    950: '#000000',
  },
}
SCSS
$custom: #141f4d;
$custom-light: #5a5a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#141f4d",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 228.421,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26022,
    "c": 0.08603,
    "h": 269.4
  },
  "luminance": 0.01665
}

Semantic roles & 50–950 ramp

primary
#141F4D
secondary
#857638
accent
#C446E2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #141F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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