#141F48#141F48

#141F48 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.078 H 269.0°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#141F48
RGBrgb(20, 31, 72)
HSLhsl(227, 57%, 18%)
HSVhsv(227, 72%, 28%)
CMYKcmyk(72.2%, 56.9%, 0%, 71.8%)
CIE-LABlab(13.21, 10.93, -27.14)
CIE-LCHlch(13.21, 29.26, 291.94°)
OKLaboklab(25.58% -0.0013 -0.0778)
OKLCHoklch(25.58% 0.078 269)
XYZxyz(1.9478, 1.5964, 6.3351)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#141F48 #483D14
analogous
#143948 #141F48 #231448
triadic
#141F48 #48141F #1F4814
tetradic
#141F48 #481439 #483D14 #144823
square
#141F48 #481439 #483D14 #144823
split-complementary
#141F48 #482314 #394814
monochromatic
#070A18 #070A18 #141F48 #213478 #2F48A8

Accessibility & contrast

On white

15.92
#141F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#141F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #141F48
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##141F48#FFFFFF#000000##FFFFFF
##141F481.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072449
Deuteranopia (green-blind)
#002047
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #141f48;
/* rgb */ color: rgb(20, 31, 72);
/* oklch */ color: oklch(25.6% 0.078 269.0);
Tailwind
colors: {
  custom: {
    50: '#585a7b',
    500: '#141f48',
    950: '#000000',
  },
}
SCSS
$custom: #141f48;
$custom-light: #585a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#141f48",
  "rgb": {
    "r": 20,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 227.308,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25583,
    "c": 0.07785,
    "h": 269
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#141F48
secondary
#807138
accent
#C048E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #141F48

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

Preview Lab → · Contrast checker → · Palette generator →

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