#141F57#141F57

#141F57 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.0% C 0.102 H 269.7°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#141F57
RGBrgb(20, 31, 87)
HSLhsl(230, 63%, 21%)
HSVhsv(230, 77%, 34%)
CMYKcmyk(77%, 64.4%, 0%, 65.9%)
CIE-LABlab(14.49, 17.22, -35.29)
CIE-LCHlch(14.49, 39.27, 296.01°)
OKLaboklab(26.95% -0.0005 -0.1018)
OKLCHoklch(26.95% 0.102 269.7)
XYZxyz(2.4982, 1.8166, 9.2340)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F57 #574C14
analogous
#144057 #141F57 #2A1457
triadic
#141F57 #57141F #1F5714
tetradic
#141F57 #571440 #574C14 #14572A
square
#141F57 #571440 #574C14 #14572A
split-complementary
#141F57 #572A14 #405714
monochromatic
#060919 #090D25 #141F57 #1F3189 #2B42BB

Accessibility & contrast

On white

15.40
#141F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#141F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F57
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F57#FFFFFF#000000##FFFFFF
##141F571.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#002256
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #141f57;
/* rgb */ color: rgb(20, 31, 87);
/* oklch */ color: oklch(27.0% 0.102 269.7);
Tailwind
colors: {
  custom: {
    50: '#5c5a87',
    500: '#141f57',
    950: '#000000',
  },
}
SCSS
$custom: #141f57;
$custom-light: #5c5a87;
$custom-dark: #000000;
JSON
{
  "hex": "#141f57",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 230.149,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26954,
    "c": 0.10182,
    "h": 269.7
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#141F57
secondary
#8F8138
accent
#CB42E6
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05030B
muted
#79787C

Preview Lab

Preview with #141F57

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

Preview Lab → · Contrast checker → · Palette generator →

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