#140F66#140F66

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

Color values

HEX#140F66
RGBrgb(20, 15, 102)
HSLhsl(243, 74%, 23%)
HSVhsv(243, 85%, 40%)
CMYKcmyk(80.4%, 85.3%, 0%, 60%)
CIE-LABlab(12.28, 33.55, -48.95)
CIE-LCHlch(12.28, 59.34, 304.43°)
OKLaboklab(25.85% 0.0069 -0.1416)
OKLCHoklch(25.85% 0.142 272.8)
XYZxyz(2.8568, 1.4494, 12.6970)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F66 #61660F
analogous
#0F3566 #140F66 #3F0F66
triadic
#140F66 #66140F #0F6614
tetradic
#140F66 #660F35 #61660F #0F663F
square
#140F66 #660F35 #61660F #0F663F
split-complementary
#140F66 #663F0F #35660F
monochromatic
#05041B #0A0731 #140F66 #1E179B #291FD1

Accessibility & contrast

On white

16.28
#140F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F66
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F66#FFFFFF#000000##FFFFFF
##140F661.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #140f66;
/* rgb */ color: rgb(20, 15, 102);
/* oklch */ color: oklch(25.9% 0.142 272.8);
Tailwind
colors: {
  custom: {
    50: '#625093',
    500: '#140f66',
    950: '#000000',
  },
}
SCSS
$custom: #140f66;
$custom-light: #625093;
$custom-dark: #000000;
JSON
{
  "hex": "#140f66",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 243.448,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.25854,
    "c": 0.14179,
    "h": 272.8
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#140F66
secondary
#989F32
accent
#F137E6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #140F66

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

Preview Lab → · Contrast checker → · Palette generator →

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