#140F53#140F53

#140F53 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.117 H 275.8°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#140F53
RGBrgb(20, 15, 83)
HSLhsl(244, 69%, 19%)
HSVhsv(244, 82%, 33%)
CMYKcmyk(75.9%, 81.9%, 0%, 67.5%)
CIE-LABlab(9.91, 26.81, -40.09)
CIE-LCHlch(9.91, 48.23, 303.77°)
OKLaboklab(23.5% 0.0119 -0.1159)
OKLCHoklch(23.5% 0.117 275.8)
XYZxyz(2.0201, 1.1147, 8.2906)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F53 #4E530F
analogous
#0F2C53 #140F53 #360F53
triadic
#140F53 #53140F #0F5314
tetradic
#140F53 #530F2C #4E530F #0F5336
square
#140F53 #530F2C #4E530F #0F5336
split-complementary
#140F53 #53360F #2C530F
monochromatic
#06051A #08061F #140F53 #201887 #2D22BB

Accessibility & contrast

On white

17.17
#140F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#140F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F53
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F53#FFFFFF#000000##FFFFFF
##140F531.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E55
Deuteranopia (green-blind)
#001852
Tritanopia (blue-blind)
#002330
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #140f53;
/* rgb */ color: rgb(20, 15, 83);
/* oklch */ color: oklch(23.5% 0.117 275.8);
Tailwind
colors: {
  custom: {
    50: '#5d4e84',
    500: '#140f53',
    950: '#000000',
  },
}
SCSS
$custom: #140f53;
$custom-light: #5d4e84;
$custom-dark: #000000;
JSON
{
  "hex": "#140f53",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 244.412,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.235,
    "c": 0.11651,
    "h": 275.8
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#140F53
secondary
#868D31
accent
#EC3CDF
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #140F53

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

Preview Lab → · Contrast checker → · Palette generator →

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