#142048#142048

#142048 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.076 H 268.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#142048
RGBrgb(20, 32, 72)
HSLhsl(226, 57%, 18%)
HSVhsv(226, 72%, 28%)
CMYKcmyk(72.2%, 55.6%, 0%, 71.8%)
CIE-LABlab(13.53, 10.17, -26.62)
CIE-LCHlch(13.53, 28.50, 290.90°)
OKLaboklab(25.83% -0.0025 -0.0763)
OKLCHoklch(25.83% 0.076 268.1)
XYZxyz(1.9743, 1.6494, 6.3440)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142048 #483C14
analogous
#143A48 #142048 #221448
triadic
#142048 #481420 #204814
tetradic
#142048 #48143A #483C14 #144822
square
#142048 #48143A #483C14 #144822
split-complementary
#142048 #482214 #3A4814
monochromatic
#070B18 #070B18 #142048 #213578 #2F4BA8

Accessibility & contrast

On white

15.79
#142048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#142048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142048
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142048#FFFFFF#000000##FFFFFF
##1420481.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2549
Deuteranopia (green-blind)
#012047
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #142048;
/* rgb */ color: rgb(20, 32, 72);
/* oklch */ color: oklch(25.8% 0.076 268.1);
Tailwind
colors: {
  custom: {
    50: '#585b7b',
    500: '#142048',
    950: '#000000',
  },
}
SCSS
$custom: #142048;
$custom-light: #585b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#142048",
  "rgb": {
    "r": 20,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 226.154,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25826,
    "c": 0.07635,
    "h": 268.1
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#142048
secondary
#806F38
accent
#BD48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #142048

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

Preview Lab → · Contrast checker → · Palette generator →

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