#141F58#141F58

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

Color values

HEX#141F58
RGBrgb(20, 31, 88)
HSLhsl(230, 63%, 21%)
HSVhsv(230, 77%, 35%)
CMYKcmyk(77.3%, 64.8%, 0%, 65.5%)
CIE-LABlab(14.59, 17.64, -35.82)
CIE-LCHlch(14.59, 39.93, 296.22°)
OKLaboklab(27.05% -0.0005 -0.1034)
OKLCHoklch(27.05% 0.103 269.7)
XYZxyz(2.5393, 1.8330, 9.4506)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F58 #584D14
analogous
#144158 #141F58 #2B1458
triadic
#141F58 #58141F #1F5814
tetradic
#141F58 #581441 #584D14 #14582B
square
#141F58 #581441 #584D14 #14582B
split-complementary
#141F58 #582B14 #415814
monochromatic
#060919 #090D26 #141F58 #1F318A #2B42BC

Accessibility & contrast

On white

15.37
#141F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#141F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F58
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F58#FFFFFF#000000##FFFFFF
##141F581.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#002257
Tritanopia (blue-blind)
#002D38
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #141f58;
/* rgb */ color: rgb(20, 31, 88);
/* oklch */ color: oklch(27.1% 0.103 269.7);
Tailwind
colors: {
  custom: {
    50: '#5d5a88',
    500: '#141f58',
    950: '#000000',
  },
}
SCSS
$custom: #141f58;
$custom-light: #5d5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#141f58",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 230.294,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2705,
    "c": 0.10336,
    "h": 269.7
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#141F58
secondary
#908238
accent
#CB42E6
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05030B
muted
#79787C

Preview Lab

Preview with #141F58

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

Preview Lab → · Contrast checker → · Palette generator →

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