#142368#142368

#142368 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.5% C 0.122 H 268.2°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#142368
RGBrgb(20, 35, 104)
HSLhsl(229, 68%, 24%)
HSVhsv(229, 81%, 41%)
CMYKcmyk(80.8%, 66.3%, 0%, 59.2%)
CIE-LABlab(17.23, 21.33, -42.12)
CIE-LCHlch(17.23, 47.21, 296.86°)
OKLaboklab(29.47% -0.0038 -0.1218)
OKLCHoklch(29.47% 0.122 268.2)
XYZxyz(3.3873, 2.3499, 13.3691)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142368 #685914
analogous
#144D68 #142368 #2F1468
triadic
#142368 #681423 #236814
tetradic
#142368 #68144D #685914 #14682F
square
#142368 #68144D #685914 #14682F
split-complementary
#142368 #682F14 #4D6814
monochromatic
#05091A #0A1235 #142368 #1E349B #2846CF

Accessibility & contrast

On white

14.29
#142368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#142368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142368
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142368#FFFFFF#000000##FFFFFF
##1423681.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142368;
/* rgb */ color: rgb(20, 35, 104);
/* oklch */ color: oklch(29.5% 0.122 268.2);
Tailwind
colors: {
  custom: {
    50: '#615d94',
    500: '#142368',
    950: '#000000',
  },
}
SCSS
$custom: #142368;
$custom-light: #615d94;
$custom-dark: #000000;
JSON
{
  "hex": "#142368",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 229.286,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29472,
    "c": 0.12185,
    "h": 268.2
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#142368
secondary
#9F8D39
accent
#CC3DEB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #142368

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

Preview Lab → · Contrast checker → · Palette generator →

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