#142A6B#142A6B

#142A6B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.117 H 265.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#142A6B
RGBrgb(20, 42, 107)
HSLhsl(225, 69%, 25%)
HSVhsv(225, 81%, 42%)
CMYKcmyk(81.3%, 60.7%, 0%, 58%)
CIE-LABlab(19.50, 17.50, -40.37)
CIE-LCHlch(19.50, 44.00, 293.44°)
OKLaboklab(31.25% -0.0088 -0.1165)
OKLCHoklch(31.25% 0.117 265.7)
XYZxyz(3.7694, 2.8658, 14.2616)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A6B #6B5514
analogous
#14556B #142A6B #2A146B
triadic
#142A6B #6B142A #2A6B14
tetradic
#142A6B #6B1455 #6B5514 #146B2A
square
#142A6B #6B1455 #6B5514 #146B2A
split-complementary
#142A6B #6B2A14 #556B14
monochromatic
#050A1A #0A1637 #142A6B #1E3E9F #2752D2

Accessibility & contrast

On white

13.35
#142A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#142A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142A6B
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A6B#FFFFFF#000000##FFFFFF
##142A6B1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142a6b;
/* rgb */ color: rgb(20, 42, 107);
/* oklch */ color: oklch(31.2% 0.117 265.7);
Tailwind
colors: {
  custom: {
    50: '#616396',
    500: '#142a6b',
    950: '#000000',
  },
}
SCSS
$custom: #142a6b;
$custom-light: #616396;
$custom-dark: #000000;
JSON
{
  "hex": "#142a6b",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 224.828,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31249,
    "c": 0.11688,
    "h": 265.7
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#142A6B
secondary
#A28739
accent
#BF3CEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #142A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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