#142765#142765

#142765 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.0% C 0.112 H 266.5°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#142765
RGBrgb(20, 39, 101)
HSLhsl(226, 67%, 24%)
HSVhsv(226, 80%, 40%)
CMYKcmyk(80.2%, 61.4%, 0%, 60.4%)
CIE-LABlab(18.09, 17.18, -38.74)
CIE-LCHlch(18.09, 42.37, 293.91°)
OKLaboklab(30.03% -0.0068 -0.1118)
OKLCHoklch(30.03% 0.112 266.5)
XYZxyz(3.3622, 2.5390, 12.6223)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142765 #655214
analogous
#144F65 #142765 #291465
triadic
#142765 #651427 #276514
tetradic
#142765 #65144F #655214 #146529
square
#142765 #65144F #655214 #146529
split-complementary
#142765 #652914 #4F6514
monochromatic
#050A1A #0A1332 #142765 #1E3B98 #284ECB

Accessibility & contrast

On white

13.93
#142765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#142765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142765
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142765#FFFFFF#000000##FFFFFF
##1427651.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142765;
/* rgb */ color: rgb(20, 39, 101);
/* oklch */ color: oklch(30.0% 0.112 266.5);
Tailwind
colors: {
  custom: {
    50: '#606091',
    500: '#142765',
    950: '#000000',
  },
}
SCSS
$custom: #142765;
$custom-light: #606091;
$custom-dark: #000000;
JSON
{
  "hex": "#142765",
  "rgb": {
    "r": 20,
    "g": 39,
    "b": 101
  },
  "hsl": {
    "h": 225.926,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30032,
    "c": 0.11202,
    "h": 266.5
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#142765
secondary
#9C8539
accent
#C23EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142765

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

Preview Lab → · Contrast checker → · Palette generator →

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