#140F37#140F37

#140F37 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.075 H 283.2°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#140F37
RGBrgb(20, 15, 55)
HSLhsl(248, 57%, 14%)
HSVhsv(248, 73%, 22%)
CMYKcmyk(63.6%, 72.7%, 0%, 78.4%)
CIE-LABlab(6.92, 15.95, -25.27)
CIE-LCHlch(6.92, 29.88, 302.26°)
OKLaboklab(20.39% 0.0171 -0.0728)
OKLCHoklch(20.39% 0.075 283.2)
XYZxyz(1.1487, 0.7661, 3.7010)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F37 #32370F
analogous
#0F1E37 #140F37 #280F37
triadic
#140F37 #37140F #0F3714
tetradic
#140F37 #370F1E #32370F #0F3728
square
#140F37 #370F1E #32370F #0F3728
split-complementary
#140F37 #37280F #1E370F
monochromatic
#090718 #090718 #140F37 #251C67 #372997

Accessibility & contrast

On white

18.21
#140F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#140F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F37
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F37#FFFFFF#000000##FFFFFF
##140F371.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#001436
Tritanopia (blue-blind)
#051921
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140f37;
/* rgb */ color: rgb(20, 15, 55);
/* oklch */ color: oklch(20.4% 0.075 283.2);
Tailwind
colors: {
  custom: {
    50: '#564d6e',
    500: '#140f37',
    950: '#000000',
  },
}
SCSS
$custom: #140f37;
$custom-light: #564d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#140f37",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 247.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2039,
    "c": 0.07476,
    "h": 283.2
  },
  "luminance": 0.00766
}

Semantic roles & 50–950 ramp

primary
#140F37
secondary
#697131
accent
#E047CD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #140F37

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

Preview Lab → · Contrast checker → · Palette generator →

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