#140E6A#140E6A

#140E6A is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.148 H 272.4°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#140E6A
RGBrgb(20, 14, 106)
HSLhsl(244, 77%, 24%)
HSVhsv(244, 87%, 42%)
CMYKcmyk(81.1%, 86.8%, 0%, 58.4%)
CIE-LABlab(12.63, 35.43, -51.01)
CIE-LCHlch(12.63, 62.11, 304.78°)
OKLaboklab(26.24% 0.0061 -0.1476)
OKLCHoklch(26.24% 0.148 272.4)
XYZxyz(3.0462, 1.5031, 13.7625)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E6A #646A0E
analogous
#0E366A #140E6A #420E6A
triadic
#140E6A #6A140E #0E6A14
tetradic
#140E6A #6A0E36 #646A0E #0E6A42
square
#140E6A #6A0E36 #646A0E #0E6A42
split-complementary
#140E6A #6A420E #366A0E
monochromatic
#05041B #0A0734 #140E6A #1E15A0 #281CD6

Accessibility & contrast

On white

16.15
#140E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#140E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E6A
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E6A#FFFFFF#000000##FFFFFF
##140E6A1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256C
Deuteranopia (green-blind)
#001C68
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #140e6a;
/* rgb */ color: rgb(20, 14, 106);
/* oklch */ color: oklch(26.2% 0.148 272.4);
Tailwind
colors: {
  custom: {
    50: '#645096',
    500: '#140e6a',
    950: '#000000',
  },
}
SCSS
$custom: #140e6a;
$custom-light: #645096;
$custom-dark: #000000;
JSON
{
  "hex": "#140e6a",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 106
  },
  "hsl": {
    "h": 243.913,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26244,
    "c": 0.14772,
    "h": 272.4
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#140E6A
secondary
#9BA331
accent
#F335E7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #140E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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