#140F67#140F67

#140F67 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.0% C 0.143 H 272.7°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#140F67
RGBrgb(20, 15, 103)
HSLhsl(243, 75%, 23%)
HSVhsv(243, 85%, 40%)
CMYKcmyk(80.6%, 85.4%, 0%, 59.6%)
CIE-LABlab(12.41, 33.90, -49.40)
CIE-LCHlch(12.41, 59.91, 304.46°)
OKLaboklab(25.98% 0.0066 -0.1429)
OKLCHoklch(25.98% 0.143 272.7)
XYZxyz(2.9067, 1.4693, 12.9598)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F67 #62670F
analogous
#0F3667 #140F67 #400F67
triadic
#140F67 #67140F #0F6714
tetradic
#140F67 #670F36 #62670F #0F6740
square
#140F67 #670F36 #62670F #0F6740
split-complementary
#140F67 #67400F #36670F
monochromatic
#05041B #0A0732 #140F67 #1E179C #291FD2

Accessibility & contrast

On white

16.23
#140F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F67
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F67#FFFFFF#000000##FFFFFF
##140F671.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140f67;
/* rgb */ color: rgb(20, 15, 103);
/* oklch */ color: oklch(26.0% 0.143 272.7);
Tailwind
colors: {
  custom: {
    50: '#635093',
    500: '#140f67',
    950: '#000000',
  },
}
SCSS
$custom: #140f67;
$custom-light: #635093;
$custom-dark: #000000;
JSON
{
  "hex": "#140f67",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 103
  },
  "hsl": {
    "h": 243.409,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.25982,
    "c": 0.14307,
    "h": 272.7
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#140F67
secondary
#99A032
accent
#F137E7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #140F67

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

Preview Lab → · Contrast checker → · Palette generator →

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