#140D58#140D58

#140D58 is a very dark, vivid blue. Relative luminance 0.011; OKLCH L 23.8% C 0.125 H 275.3°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#140D58
RGBrgb(20, 13, 88)
HSLhsl(246, 74%, 20%)
HSVhsv(246, 85%, 35%)
CMYKcmyk(77.3%, 85.2%, 0%, 65.5%)
CIE-LABlab(10.11, 29.79, -43.17)
CIE-LCHlch(10.11, 52.45, 304.61°)
OKLaboklab(23.82% 0.0116 -0.1248)
OKLCHoklch(23.82% 0.125 275.3)
XYZxyz(2.1933, 1.1409, 9.3353)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140D58 #51580D
analogous
#0D2C58 #140D58 #3A0D58
triadic
#140D58 #58140D #0D5814
tetradic
#140D58 #580D2C #51580D #0D583A
square
#140D58 #580D2C #51580D #0D583A
split-complementary
#140D58 #583A0D #2C580D
monochromatic
#06041B #080523 #140D58 #20158D #2C1DC3

Accessibility & contrast

On white

17.10
#140D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#140D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140D58
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140D58#FFFFFF#000000##FFFFFF
##140D581.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F5A
Deuteranopia (green-blind)
#001857
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #140d58;
/* rgb */ color: rgb(20, 13, 88);
/* oklch */ color: oklch(23.8% 0.125 275.3);
Tailwind
colors: {
  custom: {
    50: '#5f4e88',
    500: '#140d58',
    950: '#000000',
  },
}
SCSS
$custom: #140d58;
$custom-light: #5f4e88;
$custom-dark: #000000;
JSON
{
  "hex": "#140d58",
  "rgb": {
    "r": 20,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 245.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.23823,
    "c": 0.12535,
    "h": 275.3
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#140D58
secondary
#89932E
accent
#F137E0
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05010B
muted
#79777C

Preview Lab

Preview with #140D58

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

Preview Lab → · Contrast checker → · Palette generator →

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