#142A69#142A69

#142A69 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.1% C 0.114 H 265.5°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#142A69
RGBrgb(20, 42, 105)
HSLhsl(224, 68%, 25%)
HSVhsv(224, 81%, 41%)
CMYKcmyk(81%, 60%, 0%, 58.8%)
CIE-LABlab(19.33, 16.66, -39.35)
CIE-LCHlch(19.33, 42.73, 292.95°)
OKLaboklab(31.07% -0.0089 -0.1135)
OKLCHoklch(31.07% 0.114 265.5)
XYZxyz(3.6654, 2.8242, 13.7138)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142A69 #695314
analogous
#145569 #142A69 #291469
triadic
#142A69 #69142A #2A6914
tetradic
#142A69 #691455 #695314 #146929
square
#142A69 #691455 #695314 #146929
split-complementary
#142A69 #692914 #556914
monochromatic
#050A1A #0A1536 #142A69 #1E3F9C #2853D0

Accessibility & contrast

On white

13.42
#142A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142A69
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142A69#FFFFFF#000000##FFFFFF
##142A691.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336B
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #142a69;
/* rgb */ color: rgb(20, 42, 105);
/* oklch */ color: oklch(31.1% 0.114 265.5);
Tailwind
colors: {
  custom: {
    50: '#606394',
    500: '#142a69',
    950: '#000000',
  },
}
SCSS
$custom: #142a69;
$custom-light: #606394;
$custom-dark: #000000;
JSON
{
  "hex": "#142a69",
  "rgb": {
    "r": 20,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 224.471,
    "s": 68,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31065,
    "c": 0.1139,
    "h": 265.5
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#142A69
secondary
#A08539
accent
#BE3DEB
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142A69

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

Preview Lab → · Contrast checker → · Palette generator →

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