#140E63#140E63

#140E63 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.139 H 273.3°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#140E63
RGBrgb(20, 14, 99)
HSLhsl(244, 75%, 22%)
HSVhsv(244, 86%, 39%)
CMYKcmyk(79.8%, 85.9%, 0%, 61.2%)
CIE-LABlab(11.71, 33.06, -47.90)
CIE-LCHlch(11.71, 58.20, 304.61°)
OKLaboklab(25.35% 0.0081 -0.1386)
OKLCHoklch(25.35% 0.139 273.3)
XYZxyz(2.6969, 1.3634, 11.9230)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E63 #5D630E
analogous
#0E3363 #140E63 #3E0E63
triadic
#140E63 #63140E #0E6314
tetradic
#140E63 #630E33 #5D630E #0E633E
square
#140E63 #630E33 #5D630E #0E633E
split-complementary
#140E63 #633E0E #33630E
monochromatic
#05041B #09062D #140E63 #1F1699 #2A1DCE

Accessibility & contrast

On white

16.50
#140E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140E63
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E63#FFFFFF#000000##FFFFFF
##140E631.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002365
Deuteranopia (green-blind)
#001B62
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #140e63;
/* rgb */ color: rgb(20, 14, 99);
/* oklch */ color: oklch(25.3% 0.139 273.3);
Tailwind
colors: {
  custom: {
    50: '#624f90',
    500: '#140e63',
    950: '#000000',
  },
}
SCSS
$custom: #140e63;
$custom-light: #624f90;
$custom-dark: #000000;
JSON
{
  "hex": "#140e63",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 99
  },
  "hsl": {
    "h": 244.235,
    "s": 75.221,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25345,
    "c": 0.13881,
    "h": 273.3
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#140E63
secondary
#959C30
accent
#F236E5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #140E63

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

Preview Lab → · Contrast checker → · Palette generator →

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