#140E67#140E67

#140E67 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.9% C 0.144 H 272.8°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#140E67
RGBrgb(20, 14, 103)
HSLhsl(244, 76%, 23%)
HSVhsv(244, 86%, 40%)
CMYKcmyk(80.6%, 86.4%, 0%, 59.6%)
CIE-LABlab(12.23, 34.42, -49.69)
CIE-LCHlch(12.23, 60.45, 304.71°)
OKLaboklab(25.86% 0.007 -0.1438)
OKLCHoklch(25.86% 0.144 272.8)
XYZxyz(2.8929, 1.4418, 12.9552)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140E67 #61670E
analogous
#0E3467 #140E67 #400E67
triadic
#140E67 #67140E #0E6714
tetradic
#140E67 #670E34 #61670E #0E6740
square
#140E67 #670E34 #61670E #0E6740
split-complementary
#140E67 #67400E #34670E
monochromatic
#05041B #0A0731 #140E67 #1E159D #291DD3

Accessibility & contrast

On white

16.30
#140E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#140E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140E67
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140E67#FFFFFF#000000##FFFFFF
##140E671.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002469
Deuteranopia (green-blind)
#001C66
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #140e67;
/* rgb */ color: rgb(20, 14, 103);
/* oklch */ color: oklch(25.9% 0.144 272.8);
Tailwind
colors: {
  custom: {
    50: '#634f94',
    500: '#140e67',
    950: '#000000',
  },
}
SCSS
$custom: #140e67;
$custom-light: #634f94;
$custom-dark: #000000;
JSON
{
  "hex": "#140e67",
  "rgb": {
    "r": 20,
    "g": 14,
    "b": 103
  },
  "hsl": {
    "h": 244.045,
    "s": 76.068,
    "l": 22.941
  },
  "oklch": {
    "l": 0.25857,
    "c": 0.14393,
    "h": 272.8
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#140E67
secondary
#98A031
accent
#F335E6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #140E67

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

Preview Lab → · Contrast checker → · Palette generator →

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