#141F4B#141F4B

#141F4B is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.8% C 0.083 H 269.3°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#141F4B
RGBrgb(20, 31, 75)
HSLhsl(228, 58%, 19%)
HSVhsv(228, 73%, 29%)
CMYKcmyk(73.3%, 58.7%, 0%, 70.6%)
CIE-LABlab(13.45, 12.19, -28.82)
CIE-LCHlch(13.45, 31.29, 292.93°)
OKLaboklab(25.84% -0.001 -0.0828)
OKLCHoklch(25.84% 0.083 269.3)
XYZxyz(2.0480, 1.6365, 6.8632)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F4B #4B4014
analogous
#143A4B #141F4B #24144B
triadic
#141F4B #4B141F #1F4B14
tetradic
#141F4B #4B143A #4B4014 #144B24
square
#141F4B #4B143A #4B4014 #144B24
split-complementary
#141F4B #4B2414 #3A4B14
monochromatic
#060A18 #070B1B #141F4B #21337B #2E47AC

Accessibility & contrast

On white

15.82
#141F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141F4B
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F4B#FFFFFF#000000##FFFFFF
##141F4B1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254D
Deuteranopia (green-blind)
#00204A
Tritanopia (blue-blind)
#002931
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #141f4b;
/* rgb */ color: rgb(20, 31, 75);
/* oklch */ color: oklch(25.8% 0.083 269.3);
Tailwind
colors: {
  custom: {
    50: '#595a7e',
    500: '#141f4b',
    950: '#000000',
  },
}
SCSS
$custom: #141f4b;
$custom-light: #595a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#141f4b",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 228,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25844,
    "c": 0.08279,
    "h": 269.3
  },
  "luminance": 0.01637
}

Semantic roles & 50–950 ramp

primary
#141F4B
secondary
#837438
accent
#C247E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #141F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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