#140D57#140D57

#140D57 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.7% C 0.124 H 275.5°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#140D57
RGBrgb(20, 13, 87)
HSLhsl(246, 74%, 20%)
HSVhsv(246, 85%, 34%)
CMYKcmyk(77%, 85.1%, 0%, 65.9%)
CIE-LABlab(9.99, 29.43, -42.69)
CIE-LCHlch(9.99, 51.86, 304.58°)
OKLaboklab(23.7% 0.0119 -0.1234)
OKLCHoklch(23.7% 0.124 275.5)
XYZxyz(2.1521, 1.1245, 9.1186)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D57 #50570D
analogous
#0D2B57 #140D57 #390D57
triadic
#140D57 #57140D #0D5714
tetradic
#140D57 #570D2B #50570D #0D5739
square
#140D57 #570D2B #50570D #0D5739
split-complementary
#140D57 #57390D #2B570D
monochromatic
#06041B #080522 #140D57 #20158C #2C1DC1

Accessibility & contrast

On white

17.14
#140D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140D57
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D57#FFFFFF#000000##FFFFFF
##140D571.0017.141.2217.14
#FFFFFF17.141.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F59
Deuteranopia (green-blind)
#001856
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #140d57;
/* rgb */ color: rgb(20, 13, 87);
/* oklch */ color: oklch(23.7% 0.124 275.5);
Tailwind
colors: {
  custom: {
    50: '#5e4d87',
    500: '#140d57',
    950: '#000000',
  },
}
SCSS
$custom: #140d57;
$custom-light: #5e4d87;
$custom-dark: #000000;
JSON
{
  "hex": "#140d57",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 245.676,
    "s": 74,
    "l": 19.608
  },
  "oklch": {
    "l": 0.23698,
    "c": 0.12402,
    "h": 275.5
  },
  "luminance": 0.01125
}

Semantic roles & 50–950 ramp

primary
#140D57
secondary
#88922E
accent
#F137DF
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05010B
muted
#79777C

Preview Lab

Preview with #140D57

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

Preview Lab → · Contrast checker → · Palette generator →

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