#142964#142964

#142964 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.108 H 265.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#142964
RGBrgb(20, 41, 100)
HSLhsl(224, 67%, 24%)
HSVhsv(224, 80%, 39%)
CMYKcmyk(80%, 59%, 0%, 60.8%)
CIE-LABlab(18.60, 15.29, -37.25)
CIE-LCHlch(18.60, 40.27, 292.31°)
OKLaboklab(30.39% -0.0085 -0.1074)
OKLCHoklch(30.39% 0.108 265.5)
XYZxyz(3.3809, 2.6543, 12.3883)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142964 #644F14
analogous
#145164 #142964 #271464
triadic
#142964 #641429 #296414
tetradic
#142964 #641451 #644F14 #146427
square
#142964 #641451 #644F14 #146427
split-complementary
#142964 #642714 #516414
monochromatic
#050A1A #0A1431 #142964 #1E3E97 #2853CA

Accessibility & contrast

On white

13.72
#142964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142964
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142964#FFFFFF#000000##FFFFFF
##1429641.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003166
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142964;
/* rgb */ color: rgb(20, 41, 100);
/* oklch */ color: oklch(30.4% 0.108 265.5);
Tailwind
colors: {
  custom: {
    50: '#5f6291',
    500: '#142964',
    950: '#000000',
  },
}
SCSS
$custom: #142964;
$custom-light: #5f6291;
$custom-dark: #000000;
JSON
{
  "hex": "#142964",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 224.25,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30387,
    "c": 0.10774,
    "h": 265.5
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#142964
secondary
#9B8138
accent
#BD3EEA
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #142964

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

Preview Lab → · Contrast checker → · Palette generator →

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