#140A4D#140A4D

#140A4D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.0% C 0.114 H 278.4°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#140A4D
RGBrgb(20, 10, 77)
HSLhsl(249, 77%, 17%)
HSVhsv(249, 87%, 30%)
CMYKcmyk(74%, 87%, 0%, 69.8%)
CIE-LABlab(8.14, 27.62, -38.88)
CIE-LCHlch(8.14, 47.69, 305.39°)
OKLaboklab(22.04% 0.0165 -0.1123)
OKLCHoklch(22.04% 0.114 278.4)
XYZxyz(1.7362, 0.9015, 7.1022)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140A4D #434D0A
analogous
#0A224D #140A4D #360A4D
triadic
#140A4D #4D140A #0A4D14
tetradic
#140A4D #4D0A22 #434D0A #0A4D36
square
#140A4D #4D0A22 #434D0A #0A4D36
split-complementary
#140A4D #4D360A #224D0A
monochromatic
#07041B #07041B #140A4D #221183 #3018B9

Accessibility & contrast

On white

17.79
#140A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#140A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140A4D
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140A4D#FFFFFF#000000##FFFFFF
##140A4D1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4F
Deuteranopia (green-blind)
#00154C
Tritanopia (blue-blind)
#001E2C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #140a4d;
/* rgb */ color: rgb(20, 10, 77);
/* oklch */ color: oklch(22.0% 0.114 278.4);
Tailwind
colors: {
  custom: {
    50: '#5c4b80',
    500: '#140a4d',
    950: '#000000',
  },
}
SCSS
$custom: #140a4d;
$custom-light: #5c4b80;
$custom-dark: #000000;
JSON
{
  "hex": "#140a4d",
  "rgb": {
    "r": 20,
    "g": 10,
    "b": 77
  },
  "hsl": {
    "h": 248.955,
    "s": 77.011,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22041,
    "c": 0.11353,
    "h": 278.4
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#140A4D
secondary
#7B8A29
accent
#F434D7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #140A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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