#140F55#140F55

#140F55 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.7% C 0.119 H 275.5°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#140F55
RGBrgb(20, 15, 85)
HSLhsl(244, 70%, 20%)
HSVhsv(244, 82%, 33%)
CMYKcmyk(76.5%, 82.4%, 0%, 66.7%)
CIE-LABlab(10.15, 27.54, -41.06)
CIE-LCHlch(10.15, 49.44, 303.85°)
OKLaboklab(23.74% 0.0114 -0.1187)
OKLCHoklch(23.74% 0.119 275.5)
XYZxyz(2.0985, 1.1460, 8.7032)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F55 #50550F
analogous
#0F2D55 #140F55 #370F55
triadic
#140F55 #55140F #0F5514
tetradic
#140F55 #550F2D #50550F #0F5537
square
#140F55 #550F2D #50550F #0F5537
split-complementary
#140F55 #55370F #2D550F
monochromatic
#06051A #080621 #140F55 #201889 #2C21BD

Accessibility & contrast

On white

17.08
#140F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F55
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F55#FFFFFF#000000##FFFFFF
##140F551.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001954
Tritanopia (blue-blind)
#002431
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #140f55;
/* rgb */ color: rgb(20, 15, 85);
/* oklch */ color: oklch(23.7% 0.119 275.5);
Tailwind
colors: {
  custom: {
    50: '#5e4f86',
    500: '#140f55',
    950: '#000000',
  },
}
SCSS
$custom: #140f55;
$custom-light: #5e4f86;
$custom-dark: #000000;
JSON
{
  "hex": "#140f55",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 244.286,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23741,
    "c": 0.11926,
    "h": 275.5
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#140F55
secondary
#888F31
accent
#ED3BE0
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #140F55

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

Preview Lab → · Contrast checker → · Palette generator →

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