#142249#142249

#142249 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.075 H 266.5°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#142249
RGBrgb(20, 34, 73)
HSLhsl(224, 57%, 18%)
HSVhsv(224, 73%, 29%)
CMYKcmyk(72.6%, 53.4%, 0%, 71.4%)
CIE-LABlab(14.25, 9.07, -26.15)
CIE-LCHlch(14.25, 27.68, 289.13°)
OKLaboklab(26.4% -0.0046 -0.0749)
OKLCHoklch(26.4% 0.075 266.5)
XYZxyz(2.0627, 1.7736, 6.5357)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142249 #493B14
analogous
#143C49 #142249 #201449
triadic
#142249 #491422 #224914
tetradic
#142249 #49143C #493B14 #144920
square
#142249 #49143C #493B14 #144920
split-complementary
#142249 #492014 #3C4914
monochromatic
#070B18 #070C19 #142249 #213879 #2E4FA9

Accessibility & contrast

On white

15.50
#142249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#142249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142249
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142249#FFFFFF#000000##FFFFFF
##1422491.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E274A
Deuteranopia (green-blind)
#042248
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #142249;
/* rgb */ color: rgb(20, 34, 73);
/* oklch */ color: oklch(26.4% 0.075 266.5);
Tailwind
colors: {
  custom: {
    50: '#585c7c',
    500: '#142249',
    950: '#000000',
  },
}
SCSS
$custom: #142249;
$custom-light: #585c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#142249",
  "rgb": {
    "r": 20,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 224.151,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26401,
    "c": 0.07502,
    "h": 266.5
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#142249
secondary
#816E38
accent
#B848E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #142249

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

Preview Lab → · Contrast checker → · Palette generator →

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