#140F65#140F65

#140F65 is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.7% C 0.141 H 272.9°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#140F65
RGBrgb(20, 15, 101)
HSLhsl(243, 74%, 23%)
HSVhsv(243, 85%, 40%)
CMYKcmyk(80.2%, 85.1%, 0%, 60.4%)
CIE-LABlab(12.15, 33.21, -48.50)
CIE-LCHlch(12.15, 58.78, 304.40°)
OKLaboklab(25.73% 0.0072 -0.1403)
OKLCHoklch(25.73% 0.141 272.9)
XYZxyz(2.8075, 1.4297, 12.4374)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F65 #60650F
analogous
#0F3565 #140F65 #3F0F65
triadic
#140F65 #65140F #0F6514
tetradic
#140F65 #650F35 #60650F #0F653F
square
#140F65 #650F35 #60650F #0F653F
split-complementary
#140F65 #653F0F #35650F
monochromatic
#05041B #090730 #140F65 #1F179A #291FD0

Accessibility & contrast

On white

16.33
#140F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #140F65
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F65#FFFFFF#000000##FFFFFF
##140F651.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002467
Deuteranopia (green-blind)
#001C64
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #140f65;
/* rgb */ color: rgb(20, 15, 101);
/* oklch */ color: oklch(25.7% 0.141 272.9);
Tailwind
colors: {
  custom: {
    50: '#625092',
    500: '#140f65',
    950: '#000000',
  },
}
SCSS
$custom: #140f65;
$custom-light: #625092;
$custom-dark: #000000;
JSON
{
  "hex": "#140f65",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 101
  },
  "hsl": {
    "h": 243.488,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.25727,
    "c": 0.1405,
    "h": 272.9
  },
  "luminance": 0.0143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #140F65

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

Preview Lab → · Contrast checker → · Palette generator →

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