#142363#142363

#142363 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.114 H 268.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#142363
RGBrgb(20, 35, 99)
HSLhsl(229, 66%, 23%)
HSVhsv(229, 80%, 39%)
CMYKcmyk(79.8%, 64.6%, 0%, 61.2%)
CIE-LABlab(16.75, 19.27, -39.61)
CIE-LCHlch(16.75, 44.04, 295.94°)
OKLaboklab(28.98% -0.0037 -0.1144)
OKLCHoklch(28.98% 0.114 268.1)
XYZxyz(3.1409, 2.2513, 12.0710)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142363 #635414
analogous
#144A63 #142363 #2C1463
triadic
#142363 #631423 #236314
tetradic
#142363 #63144A #635414 #14632C
square
#142363 #63144A #635414 #14632C
split-complementary
#142363 #632C14 #4A6314
monochromatic
#050919 #0A1130 #142363 #1E3596 #2947C9

Accessibility & contrast

On white

14.48
#142363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#142363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142363
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142363#FFFFFF#000000##FFFFFF
##1423631.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142363;
/* rgb */ color: rgb(20, 35, 99);
/* oklch */ color: oklch(29.0% 0.114 268.1);
Tailwind
colors: {
  custom: {
    50: '#5f5d90',
    500: '#142363',
    950: '#000000',
  },
}
SCSS
$custom: #142363;
$custom-light: #5f5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#142363",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 99
  },
  "hsl": {
    "h": 228.608,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28977,
    "c": 0.11448,
    "h": 268.1
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#142363
secondary
#9A8838
accent
#C93EE9
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #142363

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

Preview Lab → · Contrast checker → · Palette generator →

#142363 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva