#141F52#141F52

#141F52 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.5% C 0.094 H 269.6°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#141F52
RGBrgb(20, 31, 82)
HSLhsl(229, 61%, 20%)
HSVhsv(229, 76%, 32%)
CMYKcmyk(75.6%, 62.2%, 0%, 67.8%)
CIE-LABlab(14.05, 15.13, -32.64)
CIE-LCHlch(14.05, 35.98, 294.87°)
OKLaboklab(26.48% -0.0006 -0.094)
OKLCHoklch(26.48% 0.094 269.6)
XYZxyz(2.3009, 1.7377, 8.1951)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F52 #524714
analogous
#143E52 #141F52 #281452
triadic
#141F52 #52141F #1F5214
tetradic
#141F52 #52143E #524714 #145228
square
#141F52 #52143E #524714 #145228
split-complementary
#141F52 #522814 #3E5214
monochromatic
#060919 #080C21 #141F52 #203283 #2C44B4

Accessibility & contrast

On white

15.58
#141F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#141F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F52
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F52#FFFFFF#000000##FFFFFF
##141F521.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002151
Tritanopia (blue-blind)
#002B35
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #141f52;
/* rgb */ color: rgb(20, 31, 82);
/* oklch */ color: oklch(26.5% 0.094 269.6);
Tailwind
colors: {
  custom: {
    50: '#5b5a83',
    500: '#141f52',
    950: '#000000',
  },
}
SCSS
$custom: #141f52;
$custom-light: #5b5a83;
$custom-dark: #000000;
JSON
{
  "hex": "#141f52",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 229.355,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.26479,
    "c": 0.09402,
    "h": 269.6
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#141F52
secondary
#8A7C38
accent
#C844E4
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030B
muted
#79787C

Preview Lab

Preview with #141F52

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

Preview Lab → · Contrast checker → · Palette generator →

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