#142358#142358

#142358 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.098 H 267.6°. Best body text is #FFFFFF at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#142358
RGBrgb(20, 35, 88)
HSLhsl(227, 63%, 21%)
HSVhsv(227, 77%, 35%)
CMYKcmyk(77.3%, 60.2%, 0%, 65.5%)
CIE-LABlab(15.77, 14.67, -33.88)
CIE-LCHlch(15.77, 36.92, 293.40°)
OKLaboklab(27.94% -0.004 -0.0976)
OKLCHoklch(27.94% 0.098 267.6)
XYZxyz(2.6504, 2.0551, 9.4876)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142358 #584914
analogous
#144558 #142358 #271458
triadic
#142358 #581423 #235814
tetradic
#142358 #581445 #584914 #145827
square
#142358 #581445 #584914 #145827
split-complementary
#142358 #582714 #455814
monochromatic
#060A19 #090F26 #142358 #1F378A #2B4BBC

Accessibility & contrast

On white

14.88
#142358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#142358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142358
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142358#FFFFFF#000000##FFFFFF
##1423581.0014.881.4114.88
#FFFFFF14.881.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#002457
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #142358;
/* rgb */ color: rgb(20, 35, 88);
/* oklch */ color: oklch(27.9% 0.098 267.6);
Tailwind
colors: {
  custom: {
    50: '#5c5d88',
    500: '#142358',
    950: '#000000',
  },
}
SCSS
$custom: #142358;
$custom-light: #5c5d88;
$custom-dark: #000000;
JSON
{
  "hex": "#142358",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 226.765,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27938,
    "c": 0.0977,
    "h": 267.6
  },
  "luminance": 0.02055
}

Semantic roles & 50–950 ramp

primary
#142358
secondary
#907D38
accent
#C242E6
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #142358

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

Preview Lab → · Contrast checker → · Palette generator →

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