#140E50#140E50

#140E50 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 23.0% C 0.113 H 276.7°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#140E50
RGBrgb(20, 14, 80)
HSLhsl(245, 70%, 18%)
HSVhsv(245, 83%, 31%)
CMYKcmyk(75%, 82.5%, 0%, 68.6%)
CIE-LABlab(9.33, 26.33, -38.99)
CIE-LCHlch(9.33, 47.04, 304.03°)
OKLaboklab(22.99% 0.0132 -0.1127)
OKLCHoklch(22.99% 0.113 276.7)
XYZxyz(1.8930, 1.0418, 7.6892)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E50 #4A500E
analogous
#0E2950 #140E50 #350E50
triadic
#140E50 #50140E #0E5014
tetradic
#140E50 #500E29 #4A500E #0E5035
square
#140E50 #500E29 #4A500E #0E5035
split-complementary
#140E50 #50350E #29500E
monochromatic
#07051A #07051C #140E50 #211784 #2E20B8

Accessibility & contrast

On white

17.38
#140E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#140E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E50
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E50#FFFFFF#000000##FFFFFF
##140E501.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00174F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #140e50;
/* rgb */ color: rgb(20, 14, 80);
/* oklch */ color: oklch(23.0% 0.113 276.7);
Tailwind
colors: {
  custom: {
    50: '#5c4e82',
    500: '#140e50',
    950: '#000000',
  },
}
SCSS
$custom: #140e50;
$custom-light: #5c4e82;
$custom-dark: #000000;
JSON
{
  "hex": "#140e50",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 245.455,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.22986,
    "c": 0.11344,
    "h": 276.7
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#140E50
secondary
#828B2F
accent
#ED3BDD
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #140E50

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

Preview Lab → · Contrast checker → · Palette generator →

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