#142A65#142A65

#142A65 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.7% C 0.108 H 265.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#142A65
RGBrgb(20, 42, 101)
HSLhsl(224, 67%, 24%)
HSVhsv(224, 80%, 40%)
CMYKcmyk(80.2%, 58.4%, 0%, 60.4%)
CIE-LABlab(18.99, 14.97, -37.28)
CIE-LCHlch(18.99, 40.18, 291.88°)
OKLaboklab(30.7% -0.0092 -0.1075)
OKLCHoklch(30.7% 0.108 265.1)
XYZxyz(3.4646, 2.7439, 12.6564)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A65 #654F14
analogous
#145265 #142A65 #261465
triadic
#142A65 #65142A #2A6514
tetradic
#142A65 #651452 #654F14 #146526
square
#142A65 #651452 #654F14 #146526
split-complementary
#142A65 #652614 #526514
monochromatic
#050B1A #0A1532 #142A65 #1E3F98 #2854CB

Accessibility & contrast

On white

13.56
#142A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A65
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A65#FFFFFF#000000##FFFFFF
##142A651.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142a65;
/* rgb */ color: rgb(20, 42, 101);
/* oklch */ color: oklch(30.7% 0.108 265.1);
Tailwind
colors: {
  custom: {
    50: '#5f6391',
    500: '#142a65',
    950: '#000000',
  },
}
SCSS
$custom: #142a65;
$custom-light: #5f6391;
$custom-dark: #000000;
JSON
{
  "hex": "#142a65",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 101
  },
  "hsl": {
    "h": 223.704,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30704,
    "c": 0.10788,
    "h": 265.1
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#142A65
secondary
#9C8139
accent
#BB3EEA
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142A65

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

Preview Lab → · Contrast checker → · Palette generator →

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