#142B6C#142B6C

#142B6C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.117 H 265.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#142B6C
RGBrgb(20, 43, 108)
HSLhsl(224, 69%, 25%)
HSVhsv(224, 81%, 42%)
CMYKcmyk(81.5%, 60.2%, 0%, 57.6%)
CIE-LABlab(19.88, 17.19, -40.40)
CIE-LCHlch(19.88, 43.90, 293.05°)
OKLaboklab(31.56% -0.0095 -0.1166)
OKLCHoklch(31.56% 0.117 265.3)
XYZxyz(3.8582, 2.9587, 14.5522)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142B6C #6C5514
analogous
#14576C #142B6C #29146C
triadic
#142B6C #6C142B #2B6C14
tetradic
#142B6C #6C1457 #6C5514 #146C29
square
#142B6C #6C1457 #6C5514 #146C29
split-complementary
#142B6C #6C2914 #576C14
monochromatic
#050A1A #0A1638 #142B6C #1E40A0 #2754D3

Accessibility & contrast

On white

13.19
#142B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#142B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142B6C
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142B6C#FFFFFF#000000##FFFFFF
##142B6C1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #142b6c;
/* rgb */ color: rgb(20, 43, 108);
/* oklch */ color: oklch(31.6% 0.117 265.3);
Tailwind
colors: {
  custom: {
    50: '#616397',
    500: '#142b6c',
    950: '#000000',
  },
}
SCSS
$custom: #142b6c;
$custom-light: #616397;
$custom-dark: #000000;
JSON
{
  "hex": "#142b6c",
  "rgb": {
    "r": 20,
    "g": 43,
    "b": 108
  },
  "hsl": {
    "h": 224.318,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31561,
    "c": 0.11701,
    "h": 265.3
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#142B6C
secondary
#A38739
accent
#BE3CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #142B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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