#142360#142360

#142360 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.110 H 268.1°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#142360
RGBrgb(20, 35, 96)
HSLhsl(228, 66%, 23%)
HSVhsv(228, 79%, 38%)
CMYKcmyk(79.2%, 63.5%, 0%, 62.4%)
CIE-LABlab(16.48, 18.02, -38.07)
CIE-LCHlch(16.48, 42.12, 295.33°)
OKLaboklab(28.69% -0.0037 -0.1099)
OKLCHoklch(28.69% 0.11 268.1)
XYZxyz(3.0001, 2.1950, 11.3296)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142360 #605114
analogous
#144960 #142360 #2B1460
triadic
#142360 #601423 #236014
tetradic
#142360 #601449 #605114 #14602B
square
#142360 #601449 #605114 #14602B
split-complementary
#142360 #602B14 #496014
monochromatic
#050919 #09112D #142360 #1F3593 #2948C5

Accessibility & contrast

On white

14.59
#142360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#142360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142360
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142360#FFFFFF#000000##FFFFFF
##1423601.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #142360;
/* rgb */ color: rgb(20, 35, 96);
/* oklch */ color: oklch(28.7% 0.110 268.1);
Tailwind
colors: {
  custom: {
    50: '#5f5d8e',
    500: '#142360',
    950: '#000000',
  },
}
SCSS
$custom: #142360;
$custom-light: #5f5d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#142360",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 96
  },
  "hsl": {
    "h": 228.158,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28687,
    "c": 0.10998,
    "h": 268.1
  },
  "luminance": 0.02195
}

Semantic roles & 50–950 ramp

primary
#142360
secondary
#988538
accent
#C73FE8
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #142360

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

Preview Lab → · Contrast checker → · Palette generator →

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