#140F54#140F54

#140F54 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.6% C 0.118 H 275.7°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#140F54
RGBrgb(20, 15, 84)
HSLhsl(244, 70%, 19%)
HSVhsv(244, 82%, 33%)
CMYKcmyk(76.2%, 82.1%, 0%, 67.1%)
CIE-LABlab(10.03, 27.17, -40.58)
CIE-LCHlch(10.03, 48.83, 303.81°)
OKLaboklab(23.62% 0.0116 -0.1173)
OKLCHoklch(23.62% 0.118 275.7)
XYZxyz(2.0590, 1.1303, 8.4954)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F54 #4F540F
analogous
#0F2D54 #140F54 #370F54
triadic
#140F54 #54140F #0F5414
tetradic
#140F54 #540F2D #4F540F #0F5437
square
#140F54 #540F2D #4F540F #0F5437
split-complementary
#140F54 #54370F #2D540F
monochromatic
#06051A #080620 #140F54 #201888 #2D22BC

Accessibility & contrast

On white

17.13
#140F54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#140F54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F54
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F54#FFFFFF#000000##FFFFFF
##140F541.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001853
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #140f54;
/* rgb */ color: rgb(20, 15, 84);
/* oklch */ color: oklch(23.6% 0.118 275.7);
Tailwind
colors: {
  custom: {
    50: '#5d4e85',
    500: '#140f54',
    950: '#000000',
  },
}
SCSS
$custom: #140f54;
$custom-light: #5d4e85;
$custom-dark: #000000;
JSON
{
  "hex": "#140f54",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 84
  },
  "hsl": {
    "h": 244.348,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.23621,
    "c": 0.11788,
    "h": 275.7
  },
  "luminance": 0.0113
}

Semantic roles & 50–950 ramp

primary
#140F54
secondary
#878E31
accent
#ED3BE0
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #140F54

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

Preview Lab → · Contrast checker → · Palette generator →

#140F54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva