#142149#142149

#142149 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.077 H 267.4°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#142149
RGBrgb(20, 33, 73)
HSLhsl(225, 57%, 18%)
HSVhsv(225, 73%, 29%)
CMYKcmyk(72.6%, 54.8%, 0%, 71.4%)
CIE-LABlab(13.93, 9.83, -26.67)
CIE-LCHlch(13.93, 28.42, 290.23°)
OKLaboklab(26.16% -0.0035 -0.0764)
OKLCHoklch(26.16% 0.077 267.4)
XYZxyz(2.0345, 1.7173, 6.5263)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142149 #493C14
analogous
#143B49 #142149 #211449
triadic
#142149 #491421 #214914
tetradic
#142149 #49143B #493C14 #144921
square
#142149 #49143B #493C14 #144921
split-complementary
#142149 #492114 #3B4914
monochromatic
#070B18 #070B19 #142149 #213779 #2E4CA9

Accessibility & contrast

On white

15.63
#142149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#142149 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142149
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142149#FFFFFF#000000##FFFFFF
##1421491.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264A
Deuteranopia (green-blind)
#022148
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #142149;
/* rgb */ color: rgb(20, 33, 73);
/* oklch */ color: oklch(26.2% 0.077 267.4);
Tailwind
colors: {
  custom: {
    50: '#595b7c',
    500: '#142149',
    950: '#000000',
  },
}
SCSS
$custom: #142149;
$custom-light: #595b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#142149",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 225.283,
    "s": 56.989,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26155,
    "c": 0.07651,
    "h": 267.4
  },
  "luminance": 0.01717
}

Semantic roles & 50–950 ramp

primary
#142149
secondary
#816F38
accent
#BB48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #142149

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

Preview Lab → · Contrast checker → · Palette generator →

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