#140F58#140F58

#140F58 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 24.1% C 0.123 H 274.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#140F58
RGBrgb(20, 15, 88)
HSLhsl(244, 71%, 20%)
HSVhsv(244, 83%, 35%)
CMYKcmyk(77.3%, 83%, 0%, 65.5%)
CIE-LABlab(10.52, 28.63, -42.50)
CIE-LCHlch(10.52, 51.24, 303.96°)
OKLaboklab(24.11% 0.0106 -0.1229)
OKLCHoklch(24.11% 0.123 274.9)
XYZxyz(2.2202, 1.1947, 9.3442)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F58 #53580F
analogous
#0F2E58 #140F58 #390F58
triadic
#140F58 #58140F #0F5814
tetradic
#140F58 #580F2E #53580F #0F5839
square
#140F58 #580F2E #53580F #0F5839
split-complementary
#140F58 #58390F #2E580F
monochromatic
#06041A #080624 #140F58 #20188C #2C21C1

Accessibility & contrast

On white

16.95
#140F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#140F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F58
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F58#FFFFFF#000000##FFFFFF
##140F581.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205A
Deuteranopia (green-blind)
#001957
Tritanopia (blue-blind)
#002533
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #140f58;
/* rgb */ color: rgb(20, 15, 88);
/* oklch */ color: oklch(24.1% 0.123 274.9);
Tailwind
colors: {
  custom: {
    50: '#5e4f88',
    500: '#140f58',
    950: '#000000',
  },
}
SCSS
$custom: #140f58;
$custom-light: #5e4f88;
$custom-dark: #000000;
JSON
{
  "hex": "#140f58",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 244.11,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.24106,
    "c": 0.12336,
    "h": 274.9
  },
  "luminance": 0.01195
}

Semantic roles & 50–950 ramp

primary
#140F58
secondary
#8B9231
accent
#EE3AE1
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020B
muted
#79787C

Preview Lab

Preview with #140F58

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

Preview Lab → · Contrast checker → · Palette generator →

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