#140E4D#140E4D

#140E4D is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.6% C 0.109 H 277.4°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#140E4D
RGBrgb(20, 14, 77)
HSLhsl(246, 69%, 18%)
HSVhsv(246, 82%, 30%)
CMYKcmyk(74%, 81.8%, 0%, 69.8%)
CIE-LABlab(8.98, 25.23, -37.50)
CIE-LCHlch(8.98, 45.20, 303.93°)
OKLaboklab(22.63% 0.014 -0.1083)
OKLCHoklch(22.63% 0.109 277.4)
XYZxyz(1.7846, 0.9985, 7.1184)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E4D #474D0E
analogous
#0E274D #140E4D #330E4D
triadic
#140E4D #4D140E #0E4D14
tetradic
#140E4D #4D0E27 #474D0E #0E4D33
square
#140E4D #4D0E27 #474D0E #0E4D33
split-complementary
#140E4D #4D330E #274D0E
monochromatic
#07051A #07051A #140E4D #211781 #2F21B5

Accessibility & contrast

On white

17.50
#140E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#140E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E4D
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E4D#FFFFFF#000000##FFFFFF
##140E4D1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00174C
Tritanopia (blue-blind)
#00202C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #140e4d;
/* rgb */ color: rgb(20, 14, 77);
/* oklch */ color: oklch(22.6% 0.109 277.4);
Tailwind
colors: {
  custom: {
    50: '#5c4d80',
    500: '#140e4d',
    950: '#000000',
  },
}
SCSS
$custom: #140e4d;
$custom-light: #5c4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#140e4d",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 245.714,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.22628,
    "c": 0.10924,
    "h": 277.4
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#140E4D
secondary
#7F882F
accent
#EC3CDB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #140E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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