#140F74#140F74

#140F74 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.159 H 271.2°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#140F74
RGBrgb(20, 15, 116)
HSLhsl(243, 77%, 26%)
HSVhsv(243, 87%, 45%)
CMYKcmyk(82.8%, 87.1%, 0%, 54.5%)
CIE-LABlab(14.12, 38.25, -55.05)
CIE-LCHlch(14.12, 67.03, 304.79°)
OKLaboklab(27.66% 0.0032 -0.1593)
OKLCHoklch(27.66% 0.159 271.2)
XYZxyz(3.6106, 1.7509, 16.6673)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F74 #6F740F
analogous
#0F3C74 #140F74 #460F74
triadic
#140F74 #74140F #0F7414
tetradic
#140F74 #740F3C #6F740F #0F7446
square
#140F74 #740F3C #6F740F #0F7446
split-complementary
#140F74 #74460F #3C740F
monochromatic
#05041B #0B083E #140F74 #1D16AA #271DE0

Accessibility & contrast

On white

15.55
#140F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#140F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F74
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F74#FFFFFF#000000##FFFFFF
##140F741.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002977
Deuteranopia (green-blind)
#001F72
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #140f74;
/* rgb */ color: rgb(20, 15, 116);
/* oklch */ color: oklch(27.7% 0.159 271.2);
Tailwind
colors: {
  custom: {
    50: '#66519d',
    500: '#140f74',
    950: '#000000',
  },
}
SCSS
$custom: #140f74;
$custom-light: #66519d;
$custom-dark: #000000;
JSON
{
  "hex": "#140f74",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 116
  },
  "hsl": {
    "h": 242.97,
    "s": 77.099,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27656,
    "c": 0.15933,
    "h": 271.2
  },
  "luminance": 0.01751
}

Semantic roles & 50–950 ramp

primary
#140F74
secondary
#A6AC33
accent
#F434EA
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #140F74

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

Preview Lab → · Contrast checker → · Palette generator →

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