#142966#142966

#142966 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.111 H 265.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#142966
RGBrgb(20, 41, 102)
HSLhsl(225, 67%, 24%)
HSVhsv(225, 80%, 40%)
CMYKcmyk(80.4%, 59.8%, 0%, 60%)
CIE-LABlab(18.77, 16.13, -38.29)
CIE-LCHlch(18.77, 41.55, 292.85°)
OKLaboklab(30.57% -0.0083 -0.1105)
OKLCHoklch(30.57% 0.111 265.7)
XYZxyz(3.4789, 2.6935, 12.9044)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142966 #665114
analogous
#145266 #142966 #281466
triadic
#142966 #661429 #296614
tetradic
#142966 #661452 #665114 #146628
square
#142966 #661452 #665114 #146628
split-complementary
#142966 #662814 #526614
monochromatic
#050A1A #0A1433 #142966 #1E3E99 #2852CC

Accessibility & contrast

On white

13.65
#142966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#142966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142966
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142966#FFFFFF#000000##FFFFFF
##1429661.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142966;
/* rgb */ color: rgb(20, 41, 102);
/* oklch */ color: oklch(30.6% 0.111 265.7);
Tailwind
colors: {
  custom: {
    50: '#606292',
    500: '#142966',
    950: '#000000',
  },
}
SCSS
$custom: #142966;
$custom-light: #606292;
$custom-dark: #000000;
JSON
{
  "hex": "#142966",
  "rgb": {
    "r": 20,
    "g": 41,
    "b": 102
  },
  "hsl": {
    "h": 224.634,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30568,
    "c": 0.11077,
    "h": 265.7
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#142966
secondary
#9D8339
accent
#BE3EEA
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #142966

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

Preview Lab → · Contrast checker → · Palette generator →

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