#142F90#142F90

#142F90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.163 H 265.8°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#142F90
RGBrgb(20, 47, 144)
HSLhsl(227, 76%, 32%)
HSVhsv(227, 86%, 56%)
CMYKcmyk(86.1%, 67.4%, 0%, 43.5%)
CIE-LABlab(24.30, 29.02, -55.94)
CIE-LCHlch(24.30, 63.02, 297.42°)
OKLaboklab(35.87% -0.0118 -0.1621)
OKLCHoklch(35.87% 0.163 265.8)
XYZxyz(6.3373, 4.1946, 26.8558)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F90 #907514
analogous
#146D90 #142F90 #371490
triadic
#142F90 #90142F #2F9014
tetradic
#142F90 #90146D #907514 #149037
square
#142F90 #90146D #907514 #149037
split-complementary
#142F90 #903714 #6D9014
monochromatic
#050C25 #0D1D5A #142F90 #1B41C6 #3B5FE4

Accessibility & contrast

On white

11.42
#142F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#142F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F90
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F90#FFFFFF#000000##FFFFFF
##142F901.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #142f90;
/* rgb */ color: rgb(20, 47, 144);
/* oklch */ color: oklch(35.9% 0.163 265.8);
Tailwind
colors: {
  custom: {
    50: '#6b67b1',
    500: '#142f90',
    950: '#000000',
  },
}
SCSS
$custom: #142f90;
$custom-light: #6b67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#142f90",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 226.935,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35872,
    "c": 0.16251,
    "h": 265.8
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#142F90
secondary
#C3A63D
accent
#C936F2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #142F90

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

Preview Lab → · Contrast checker → · Palette generator →

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