#141F4C#141F4C

#141F4C is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.084 H 269.3°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#141F4C
RGBrgb(20, 31, 76)
HSLhsl(228, 58%, 19%)
HSVhsv(228, 74%, 30%)
CMYKcmyk(73.7%, 59.2%, 0%, 70.2%)
CIE-LABlab(13.53, 12.61, -29.37)
CIE-LCHlch(13.53, 31.97, 293.24°)
OKLaboklab(25.93% -0.001 -0.0844)
OKLCHoklch(25.93% 0.084 269.3)
XYZxyz(2.0825, 1.6503, 7.0449)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F4C #4C4114
analogous
#143B4C #141F4C #25144C
triadic
#141F4C #4C141F #1F4C14
tetradic
#141F4C #4C143B #4C4114 #144C25
square
#141F4C #4C143B #4C4114 #144C25
split-complementary
#141F4C #4C2514 #3B4C14
monochromatic
#060A18 #070B1C #141F4C #21337C #2E47AD

Accessibility & contrast

On white

15.79
#141F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #141F4C
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F4C#FFFFFF#000000##FFFFFF
##141F4C1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254E
Deuteranopia (green-blind)
#00204B
Tritanopia (blue-blind)
#002A32
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #141f4c;
/* rgb */ color: rgb(20, 31, 76);
/* oklch */ color: oklch(25.9% 0.084 269.3);
Tailwind
colors: {
  custom: {
    50: '#595a7e',
    500: '#141f4c',
    950: '#000000',
  },
}
SCSS
$custom: #141f4c;
$custom-light: #595a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#141f4c",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 228.214,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25933,
    "c": 0.08442,
    "h": 269.3
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#141F4C
secondary
#847538
accent
#C346E2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #141F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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