#142965#142965

#142965 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.109 H 265.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#142965
RGBrgb(20, 41, 101)
HSLhsl(224, 67%, 24%)
HSVhsv(224, 80%, 40%)
CMYKcmyk(80.2%, 59.4%, 0%, 60.4%)
CIE-LABlab(18.69, 15.71, -37.77)
CIE-LCHlch(18.69, 40.91, 292.58°)
OKLaboklab(30.48% -0.0084 -0.1089)
OKLCHoklch(30.48% 0.109 265.6)
XYZxyz(3.4296, 2.6738, 12.6447)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142965 #655014
analogous
#145165 #142965 #271465
triadic
#142965 #651429 #296514
tetradic
#142965 #651451 #655014 #146527
square
#142965 #651451 #655014 #146527
split-complementary
#142965 #652714 #516514
monochromatic
#050A1A #0A1432 #142965 #1E3E98 #2852CB

Accessibility & contrast

On white

13.68
#142965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#142965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142965
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142965#FFFFFF#000000##FFFFFF
##1429651.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #142965;
/* rgb */ color: rgb(20, 41, 101);
/* oklch */ color: oklch(30.5% 0.109 265.6);
Tailwind
colors: {
  custom: {
    50: '#5f6291',
    500: '#142965',
    950: '#000000',
  },
}
SCSS
$custom: #142965;
$custom-light: #5f6291;
$custom-dark: #000000;
JSON
{
  "hex": "#142965",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 101
  },
  "hsl": {
    "h": 224.444,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30478,
    "c": 0.10926,
    "h": 265.6
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#142965
secondary
#9C8239
accent
#BD3EEA
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142965

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

Preview Lab → · Contrast checker → · Palette generator →

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