#140F35#140F35

#140F35 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.071 H 284.0°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#140F35
RGBrgb(20, 15, 53)
HSLhsl(248, 56%, 13%)
HSVhsv(248, 72%, 21%)
CMYKcmyk(62.3%, 71.7%, 0%, 79.2%)
CIE-LABlab(6.75, 15.09, -24.08)
CIE-LCHlch(6.75, 28.42, 302.07°)
OKLaboklab(20.19% 0.0172 -0.0694)
OKLCHoklch(20.19% 0.072 284)
XYZxyz(1.1017, 0.7474, 3.4537)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F35 #30350F
analogous
#0F1D35 #140F35 #270F35
triadic
#140F35 #35140F #0F3514
tetradic
#140F35 #350F1D #30350F #0F3527
square
#140F35 #350F1D #30350F #0F3527
split-complementary
#140F35 #35270F #1D350F
monochromatic
#090718 #090718 #140F35 #261C65 #382A94

Accessibility & contrast

On white

18.27
#140F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F35
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F35#FFFFFF#000000##FFFFFF
##140F351.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#071820
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140f35;
/* rgb */ color: rgb(20, 15, 53);
/* oklch */ color: oklch(20.2% 0.071 284.0);
Tailwind
colors: {
  custom: {
    50: '#554d6c',
    500: '#140f35',
    950: '#000000',
  },
}
SCSS
$custom: #140f35;
$custom-light: #554d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#140f35",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 247.895,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20193,
    "c": 0.0715,
    "h": 284
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#140F35
secondary
#676F31
accent
#DF49CB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #140F35

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

Preview Lab → · Contrast checker → · Palette generator →

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