#140E34#140E34

#140E34 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.9% C 0.072 H 285.1°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#140E34
RGBrgb(20, 14, 52)
HSLhsl(249, 58%, 13%)
HSVhsv(249, 73%, 20%)
CMYKcmyk(61.5%, 73.1%, 0%, 79.6%)
CIE-LABlab(6.42, 15.26, -23.89)
CIE-LCHlch(6.42, 28.34, 302.57°)
OKLaboklab(19.89% 0.0186 -0.069)
OKLCHoklch(19.89% 0.072 285.1)
XYZxyz(1.0652, 0.7107, 3.3292)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E34 #2E340E
analogous
#0E1B34 #140E34 #270E34
triadic
#140E34 #34140E #0E3414
tetradic
#140E34 #340E1B #2E340E #0E3427
square
#140E34 #340E1B #2E340E #0E3427
split-complementary
#140E34 #34270E #1B340E
monochromatic
#090618 #090618 #140E34 #271B64 #392894

Accessibility & contrast

On white

18.39
#140E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#140E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E34
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E34#FFFFFF#000000##FFFFFF
##140E341.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001535
Deuteranopia (green-blind)
#001333
Tritanopia (blue-blind)
#08171F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #140e34;
/* rgb */ color: rgb(20, 14, 52);
/* oklch */ color: oklch(19.9% 0.072 285.1);
Tailwind
colors: {
  custom: {
    50: '#554d6c',
    500: '#140e34',
    950: '#000000',
  },
}
SCSS
$custom: #140e34;
$custom-light: #554d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#140e34",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 52
  },
  "hsl": {
    "h": 249.474,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19888,
    "c": 0.07151,
    "h": 285.1
  },
  "luminance": 0.00711
}

Semantic roles & 50–950 ramp

primary
#140E34
secondary
#656F2F
accent
#E147C9
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #140E34

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

Preview Lab → · Contrast checker → · Palette generator →

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