#140F68#140F68

#140F68 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.1% C 0.144 H 272.5°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#140F68
RGBrgb(20, 15, 104)
HSLhsl(243, 75%, 23%)
HSVhsv(243, 86%, 41%)
CMYKcmyk(80.8%, 85.6%, 0%, 59.2%)
CIE-LABlab(12.54, 34.24, -49.84)
CIE-LCHlch(12.54, 60.47, 304.49°)
OKLaboklab(26.11% 0.0064 -0.1442)
OKLCHoklch(26.11% 0.144 272.5)
XYZxyz(2.9572, 1.4895, 13.2257)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F68 #63680F
analogous
#0F3668 #140F68 #400F68
triadic
#140F68 #68140F #0F6814
tetradic
#140F68 #680F36 #63680F #0F6840
square
#140F68 #680F36 #63680F #0F6840
split-complementary
#140F68 #68400F #36680F
monochromatic
#05041B #0A0733 #140F68 #1E179D #291ED3

Accessibility & contrast

On white

16.18
#140F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F68
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F68#FFFFFF#000000##FFFFFF
##140F681.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00256A
Deuteranopia (green-blind)
#001C66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #140f68;
/* rgb */ color: rgb(20, 15, 104);
/* oklch */ color: oklch(26.1% 0.144 272.5);
Tailwind
colors: {
  custom: {
    50: '#635094',
    500: '#140f68',
    950: '#000000',
  },
}
SCSS
$custom: #140f68;
$custom-light: #635094;
$custom-dark: #000000;
JSON
{
  "hex": "#140f68",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 243.371,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.26109,
    "c": 0.14435,
    "h": 272.5
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#140F68
secondary
#9AA132
accent
#F136E7
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #140F68

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

Preview Lab → · Contrast checker → · Palette generator →

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