#142668#142668

#142668 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.1% C 0.118 H 267.1°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#142668
RGBrgb(20, 38, 104)
HSLhsl(227, 68%, 24%)
HSVhsv(227, 81%, 41%)
CMYKcmyk(80.8%, 63.5%, 0%, 59.2%)
CIE-LABlab(18.07, 19.16, -40.74)
CIE-LCHlch(18.07, 45.02, 295.19°)
OKLaboklab(30.1% -0.0059 -0.1177)
OKLCHoklch(30.1% 0.118 267.1)
XYZxyz(3.4794, 2.5340, 13.3998)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142668 #685614
analogous
#145068 #142668 #2C1468
triadic
#142668 #681426 #266814
tetradic
#142668 #681450 #685614 #14682C
square
#142668 #681450 #685614 #14682C
split-complementary
#142668 #682C14 #506814
monochromatic
#05091A #0A1335 #142668 #1E399B #284CCF

Accessibility & contrast

On white

13.94
#142668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142668
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142668#FFFFFF#000000##FFFFFF
##1426681.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #142668;
/* rgb */ color: rgb(20, 38, 104);
/* oklch */ color: oklch(30.1% 0.118 267.1);
Tailwind
colors: {
  custom: {
    50: '#616094',
    500: '#142668',
    950: '#000000',
  },
}
SCSS
$custom: #142668;
$custom-light: #616094;
$custom-dark: #000000;
JSON
{
  "hex": "#142668",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 104
  },
  "hsl": {
    "h": 227.143,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.301,
    "c": 0.11785,
    "h": 267.1
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#142668
secondary
#9F8939
accent
#C53DEB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #142668

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

Preview Lab → · Contrast checker → · Palette generator →

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