#140E57#140E57

#140E57 is a very dark, vivid blue. Relative luminance 0.012; OKLCH L 23.8% C 0.123 H 275.3°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#140E57
RGBrgb(20, 14, 87)
HSLhsl(245, 72%, 20%)
HSVhsv(245, 84%, 34%)
CMYKcmyk(77%, 83.9%, 0%, 65.9%)
CIE-LABlab(10.19, 28.86, -42.36)
CIE-LCHlch(10.19, 51.26, 304.26°)
OKLaboklab(23.84% 0.0114 -0.1225)
OKLCHoklch(23.84% 0.123 275.3)
XYZxyz(2.1653, 1.1507, 9.1230)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E57 #51570E
analogous
#0E2C57 #140E57 #390E57
triadic
#140E57 #57140E #0E5714
tetradic
#140E57 #570E2C #51570E #0E5739
square
#140E57 #570E2C #51570E #0E5739
split-complementary
#140E57 #57390E #2C570E
monochromatic
#06041A #080622 #140E57 #20168C #2C1FC0

Accessibility & contrast

On white

17.07
#140E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#140E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E57
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E57#FFFFFF#000000##FFFFFF
##140E571.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140e57;
/* rgb */ color: rgb(20, 14, 87);
/* oklch */ color: oklch(23.8% 0.123 275.3);
Tailwind
colors: {
  custom: {
    50: '#5e4e87',
    500: '#140e57',
    950: '#000000',
  },
}
SCSS
$custom: #140e57;
$custom-light: #5e4e87;
$custom-dark: #000000;
JSON
{
  "hex": "#140e57",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 244.932,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23839,
    "c": 0.12303,
    "h": 275.3
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#140E57
secondary
#899130
accent
#EF39E0
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05010B
muted
#79777C

Preview Lab

Preview with #140E57

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

Preview Lab → · Contrast checker → · Palette generator →

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