#140F33#140F33

#140F33 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.0% C 0.068 H 284.7°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#140F33
RGBrgb(20, 15, 51)
HSLhsl(248, 55%, 13%)
HSVhsv(248, 71%, 20%)
CMYKcmyk(60.8%, 70.6%, 0%, 80%)
CIE-LABlab(6.59, 14.23, -22.88)
CIE-LCHlch(6.59, 26.95, 301.88°)
OKLaboklab(20% 0.0173 -0.066)
OKLCHoklch(20% 0.068 284.7)
XYZxyz(1.0567, 0.7293, 3.2164)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#140F33 #2E330F
analogous
#0F1C33 #140F33 #260F33
triadic
#140F33 #33140F #0F3314
tetradic
#140F33 #330F1C #2E330F #0F3326
square
#140F33 #330F1C #2E330F #0F3326
split-complementary
#140F33 #33260F #1C330F
monochromatic
#090718 #090718 #140F33 #271D62 #392B92

Accessibility & contrast

On white

18.33
#140F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#140F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #140F33
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##140F33#FFFFFF#000000##FFFFFF
##140F331.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#08171F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #140f33;
/* rgb */ color: rgb(20, 15, 51);
/* oklch */ color: oklch(20.0% 0.068 284.7);
Tailwind
colors: {
  custom: {
    50: '#554d6b',
    500: '#140f33',
    950: '#000000',
  },
}
SCSS
$custom: #140f33;
$custom-light: #554d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#140f33",
  "rgb": {
    "r": 20,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 248.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2,
    "c": 0.0682,
    "h": 284.7
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#140F33
secondary
#656D31
accent
#DE4AC9
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #140F33

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

Preview Lab → · Contrast checker → · Palette generator →

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