#142665#142665

#142665 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.113 H 267.0°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#142665
RGBrgb(20, 38, 101)
HSLhsl(227, 67%, 24%)
HSVhsv(227, 80%, 40%)
CMYKcmyk(80.2%, 62.4%, 0%, 60.4%)
CIE-LABlab(17.80, 17.91, -39.21)
CIE-LCHlch(17.80, 43.11, 294.54°)
OKLaboklab(29.81% -0.006 -0.1132)
OKLCHoklch(29.81% 0.113 267)
XYZxyz(3.3297, 2.4742, 12.6115)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142665 #655314
analogous
#144E65 #142665 #2A1465
triadic
#142665 #651426 #266514
tetradic
#142665 #65144E #655314 #14652A
square
#142665 #65144E #655314 #14652A
split-complementary
#142665 #652A14 #4E6514
monochromatic
#050A1A #0A1332 #142665 #1E3998 #284CCB

Accessibility & contrast

On white

14.05
#142665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#142665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142665
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142665#FFFFFF#000000##FFFFFF
##1426651.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142665;
/* rgb */ color: rgb(20, 38, 101);
/* oklch */ color: oklch(29.8% 0.113 267.0);
Tailwind
colors: {
  custom: {
    50: '#605f91',
    500: '#142665',
    950: '#000000',
  },
}
SCSS
$custom: #142665;
$custom-light: #605f91;
$custom-dark: #000000;
JSON
{
  "hex": "#142665",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 101
  },
  "hsl": {
    "h": 226.667,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29814,
    "c": 0.11338,
    "h": 267
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#142665
secondary
#9C8639
accent
#C43EEA
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #142665

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

Preview Lab → · Contrast checker → · Palette generator →

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