#142F5E#142F5E

#142F5E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.090 H 260.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#142F5E
RGBrgb(20, 47, 94)
HSLhsl(218, 65%, 22%)
HSVhsv(218, 79%, 37%)
CMYKcmyk(78.7%, 50%, 0%, 63.1%)
CIE-LABlab(20.00, 8.34, -31.05)
CIE-LCHlch(20.00, 32.15, 285.04°)
OKLaboklab(31.3% -0.0147 -0.089)
OKLCHoklch(31.3% 0.09 260.6)
XYZxyz(3.3247, 2.9895, 10.9893)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142F5E #5E4314
analogous
#14545E #142F5E #1E145E
triadic
#142F5E #5E142F #2F5E14
tetradic
#142F5E #5E1454 #5E4314 #145E1E
square
#142F5E #5E1454 #5E4314 #145E1E
split-complementary
#142F5E #5E1E14 #545E14
monochromatic
#050D19 #09162C #142F5E #1F4890 #2961C3

Accessibility & contrast

On white

13.14
#142F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#142F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142F5E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142F5E#FFFFFF#000000##FFFFFF
##142F5E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163460
Deuteranopia (green-blind)
#052D5D
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142f5e;
/* rgb */ color: rgb(20, 47, 94);
/* oklch */ color: oklch(31.3% 0.090 260.6);
Tailwind
colors: {
  custom: {
    50: '#5d678c',
    500: '#142f5e',
    950: '#000000',
  },
}
SCSS
$custom: #142f5e;
$custom-light: #5d678c;
$custom-dark: #000000;
JSON
{
  "hex": "#142f5e",
  "rgb": {
    "r": 20,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 218.108,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31304,
    "c": 0.09024,
    "h": 260.6
  },
  "luminance": 0.0299
}

Semantic roles & 50–950 ramp

primary
#142F5E
secondary
#967438
accent
#AB40E8
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #142F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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