#140F56#140F56

#140F56 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 23.9% C 0.121 H 275.3°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#140F56
RGBrgb(20, 15, 86)
HSLhsl(244, 70%, 20%)
HSVhsv(244, 83%, 34%)
CMYKcmyk(76.7%, 82.6%, 0%, 66.3%)
CIE-LABlab(10.27, 27.90, -41.54)
CIE-LCHlch(10.27, 50.04, 303.89°)
OKLaboklab(23.86% 0.0111 -0.1201)
OKLCHoklch(23.86% 0.121 275.3)
XYZxyz(2.1385, 1.1621, 8.9139)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F56 #51560F
analogous
#0F2E56 #140F56 #370F56
triadic
#140F56 #56140F #0F5614
tetradic
#140F56 #560F2E #51560F #0F5637
square
#140F56 #560F2E #51560F #0F5637
split-complementary
#140F56 #56370F #2E560F
monochromatic
#06051A #080622 #140F56 #20188A #2C21BE

Accessibility & contrast

On white

17.04
#140F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F56
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F56#FFFFFF#000000##FFFFFF
##140F561.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #140f56;
/* rgb */ color: rgb(20, 15, 86);
/* oklch */ color: oklch(23.9% 0.121 275.3);
Tailwind
colors: {
  custom: {
    50: '#5e4f87',
    500: '#140f56',
    950: '#000000',
  },
}
SCSS
$custom: #140f56;
$custom-light: #5e4f87;
$custom-dark: #000000;
JSON
{
  "hex": "#140f56",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 244.225,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23863,
    "c": 0.12063,
    "h": 275.3
  },
  "luminance": 0.01162
}

Semantic roles & 50–950 ramp

primary
#140F56
secondary
#899031
accent
#ED3BE1
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #140F56

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

Preview Lab → · Contrast checker → · Palette generator →

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