#142F64#142F64

#142F64 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.099 H 262.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#142F64
RGBrgb(20, 47, 100)
HSLhsl(220, 67%, 24%)
HSVhsv(220, 80%, 39%)
CMYKcmyk(80%, 53%, 0%, 60.8%)
CIE-LABlab(20.45, 10.89, -34.27)
CIE-LCHlch(20.45, 35.96, 287.63°)
OKLaboklab(31.79% -0.0137 -0.0985)
OKLCHoklch(31.79% 0.099 262.1)
XYZxyz(3.6044, 3.1014, 12.4628)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F64 #644914
analogous
#145764 #142F64 #211464
triadic
#142F64 #64142F #2F6414
tetradic
#142F64 #641457 #644914 #146421
square
#142F64 #641457 #644914 #146421
split-complementary
#142F64 #642114 #576414
monochromatic
#050C1A #0A1731 #142F64 #1E4797 #285FCA

Accessibility & contrast

On white

12.96
#142F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#142F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F64
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F64#FFFFFF#000000##FFFFFF
##142F641.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3566
Deuteranopia (green-blind)
#002E63
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #142f64;
/* rgb */ color: rgb(20, 47, 100);
/* oklch */ color: oklch(31.8% 0.099 262.1);
Tailwind
colors: {
  custom: {
    50: '#5f6790',
    500: '#142f64',
    950: '#000000',
  },
}
SCSS
$custom: #142f64;
$custom-light: #5f6790;
$custom-dark: #000000;
JSON
{
  "hex": "#142f64",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 100
  },
  "hsl": {
    "h": 219.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31786,
    "c": 0.09947,
    "h": 262.1
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#142F64
secondary
#9B7A38
accent
#B03EEA
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060D
muted
#797A7D

Preview Lab

Preview with #142F64

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

Preview Lab → · Contrast checker → · Palette generator →

#142F64 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva