#140F30#140F30

#140F30 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.7% C 0.063 H 286.0°. Best body text is #FFFFFF at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#140F30
RGBrgb(20, 15, 48)
HSLhsl(249, 52%, 12%)
HSVhsv(249, 69%, 19%)
CMYKcmyk(58.3%, 68.7%, 0%, 81.2%)
CIE-LABlab(6.36, 12.93, -21.04)
CIE-LCHlch(6.36, 24.70, 301.57°)
OKLaboklab(19.72% 0.0174 -0.0607)
OKLCHoklch(19.72% 0.063 286)
XYZxyz(0.9927, 0.7037, 2.8793)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F30 #2B300F
analogous
#0F1B30 #140F30 #250F30
triadic
#140F30 #30140F #0F3014
tetradic
#140F30 #300F1B #2B300F #0F3025
square
#140F30 #300F1B #2B300F #0F3025
split-complementary
#140F30 #30250F #1B300F
monochromatic
#0A0717 #0A0717 #140F30 #271E5F #3B2C8D

Accessibility & contrast

On white

18.41
#140F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F30
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F30#FFFFFF#000000##FFFFFF
##140F301.0018.411.1418.41
#FFFFFF18.411.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#00132F
Tritanopia (blue-blind)
#0A161D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #140f30;
/* rgb */ color: rgb(20, 15, 48);
/* oklch */ color: oklch(19.7% 0.063 286.0);
Tailwind
colors: {
  custom: {
    50: '#544d68',
    500: '#140f30',
    950: '#000000',
  },
}
SCSS
$custom: #140f30;
$custom-light: #544d68;
$custom-dark: #000000;
JSON
{
  "hex": "#140f30",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 48
  },
  "hsl": {
    "h": 249.091,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19719,
    "c": 0.06316,
    "h": 286
  },
  "luminance": 0.00704
}

Semantic roles & 50–950 ramp

primary
#140F30
secondary
#616A31
accent
#DC4CC6
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140F30

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

Preview Lab → · Contrast checker → · Palette generator →

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