#142148#142148

#142148 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.075 H 267.2°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#142148
RGBrgb(20, 33, 72)
HSLhsl(225, 57%, 18%)
HSVhsv(225, 72%, 28%)
CMYKcmyk(72.2%, 54.2%, 0%, 71.8%)
CIE-LABlab(13.85, 9.41, -26.11)
CIE-LCHlch(13.85, 27.75, 289.82°)
OKLaboklab(26.07% -0.0036 -0.0748)
OKLCHoklch(26.07% 0.075 267.2)
XYZxyz(2.0016, 1.7041, 6.3531)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142148 #483B14
analogous
#143B48 #142148 #211448
triadic
#142148 #481421 #214814
tetradic
#142148 #48143B #483B14 #144821
square
#142148 #48143B #483B14 #144821
split-complementary
#142148 #482114 #3B4814
monochromatic
#070B18 #070B18 #142148 #213778 #2F4DA8

Accessibility & contrast

On white

15.66
#142148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142148
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142148#FFFFFF#000000##FFFFFF
##1421481.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #142148;
/* rgb */ color: rgb(20, 33, 72);
/* oklch */ color: oklch(26.1% 0.075 267.2);
Tailwind
colors: {
  custom: {
    50: '#585b7b',
    500: '#142148',
    950: '#000000',
  },
}
SCSS
$custom: #142148;
$custom-light: #585b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#142148",
  "rgb": {
    "r": 20,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 225,
    "s": 56.522,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26072,
    "c": 0.07485,
    "h": 267.2
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#142148
secondary
#806E38
accent
#BA48E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #142148

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

Preview Lab → · Contrast checker → · Palette generator →

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