#142365#142365

#142365 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.117 H 268.2°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#142365
RGBrgb(20, 35, 101)
HSLhsl(229, 67%, 24%)
HSVhsv(229, 80%, 40%)
CMYKcmyk(80.2%, 65.3%, 0%, 60.4%)
CIE-LABlab(16.94, 20.10, -40.62)
CIE-LCHlch(16.94, 45.32, 296.32°)
OKLaboklab(29.17% -0.0037 -0.1174)
OKLCHoklch(29.17% 0.117 268.2)
XYZxyz(3.2377, 2.2900, 12.5808)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142365 #655614
analogous
#144B65 #142365 #2D1465
triadic
#142365 #651423 #236514
tetradic
#142365 #65144B #655614 #14652D
square
#142365 #65144B #655614 #14652D
split-complementary
#142365 #652D14 #4B6514
monochromatic
#05091A #0A1132 #142365 #1E3598 #2846CB

Accessibility & contrast

On white

14.40
#142365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#142365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142365
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142365#FFFFFF#000000##FFFFFF
##1423651.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#003440
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #142365;
/* rgb */ color: rgb(20, 35, 101);
/* oklch */ color: oklch(29.2% 0.117 268.2);
Tailwind
colors: {
  custom: {
    50: '#605d92',
    500: '#142365',
    950: '#000000',
  },
}
SCSS
$custom: #142365;
$custom-light: #605d92;
$custom-dark: #000000;
JSON
{
  "hex": "#142365",
  "rgb": {
    "r": 20,
    "g": 35,
    "b": 101
  },
  "hsl": {
    "h": 228.889,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29174,
    "c": 0.11745,
    "h": 268.2
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#142365
secondary
#9C8A39
accent
#CA3EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #142365

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

Preview Lab → · Contrast checker → · Palette generator →

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