#140F60#140F60

#140F60 is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.1% C 0.134 H 273.6°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#140F60
RGBrgb(20, 15, 96)
HSLhsl(244, 73%, 22%)
HSVhsv(244, 84%, 38%)
CMYKcmyk(79.2%, 84.4%, 0%, 62.4%)
CIE-LABlab(11.52, 31.47, -46.23)
CIE-LCHlch(11.52, 55.93, 304.24°)
OKLaboklab(25.1% 0.0085 -0.1337)
OKLCHoklch(25.1% 0.134 273.6)
XYZxyz(2.5699, 1.3346, 11.1862)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F60 #5B600F
analogous
#0F3360 #140F60 #3D0F60
triadic
#140F60 #60140F #0F6014
tetradic
#140F60 #600F33 #5B600F #0F603D
square
#140F60 #600F33 #5B600F #0F603D
split-complementary
#140F60 #603D0F #33600F
monochromatic
#06041A #09072B #140F60 #1F1795 #2A20CA

Accessibility & contrast

On white

16.57
#140F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#140F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F60
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F60#FFFFFF#000000##FFFFFF
##140F601.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002262
Deuteranopia (green-blind)
#001B5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #140f60;
/* rgb */ color: rgb(20, 15, 96);
/* oklch */ color: oklch(25.1% 0.134 273.6);
Tailwind
colors: {
  custom: {
    50: '#614f8e',
    500: '#140f60',
    950: '#000000',
  },
}
SCSS
$custom: #140f60;
$custom-light: #614f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#140f60",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 243.704,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25097,
    "c": 0.13401,
    "h": 273.6
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#140F60
secondary
#939932
accent
#F038E4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #140F60

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

Preview Lab → · Contrast checker → · Palette generator →

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