#142064#142064

#142064 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.120 H 269.2°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#142064
RGBrgb(20, 32, 100)
HSLhsl(231, 67%, 24%)
HSVhsv(231, 80%, 39%)
CMYKcmyk(80%, 68%, 0%, 60.8%)
CIE-LABlab(16.01, 21.85, -41.48)
CIE-LCHlch(16.01, 46.88, 297.78°)
OKLaboklab(28.46% -0.0016 -0.1199)
OKLCHoklch(28.46% 0.12 269.2)
XYZxyz(3.1045, 2.1015, 12.2961)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142064 #645814
analogous
#144864 #142064 #301464
triadic
#142064 #641420 #206414
tetradic
#142064 #641448 #645814 #146430
square
#142064 #641448 #645814 #146430
split-complementary
#142064 #643014 #486414
monochromatic
#05081A #0A1031 #142064 #1E3097 #2841CA

Accessibility & contrast

On white

14.78
#142064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#142064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142064
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142064#FFFFFF#000000##FFFFFF
##1420641.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #142064;
/* rgb */ color: rgb(20, 32, 100);
/* oklch */ color: oklch(28.5% 0.120 269.2);
Tailwind
colors: {
  custom: {
    50: '#605b91',
    500: '#142064',
    950: '#000000',
  },
}
SCSS
$custom: #142064;
$custom-light: #605b91;
$custom-dark: #000000;
JSON
{
  "hex": "#142064",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 231,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28458,
    "c": 0.11996,
    "h": 269.2
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#142064
secondary
#9B8C38
accent
#D03EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #142064

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

Preview Lab → · Contrast checker → · Palette generator →

#142064 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva