#143178#143178

#143178 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.127 H 264.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#143178
RGBrgb(20, 49, 120)
HSLhsl(223, 71%, 27%)
HSVhsv(223, 83%, 47%)
CMYKcmyk(83.3%, 59.2%, 0%, 52.9%)
CIE-LABlab(22.66, 17.88, -43.58)
CIE-LCHlch(22.66, 47.10, 292.31°)
OKLaboklab(33.97% -0.0132 -0.1259)
OKLCHoklch(33.97% 0.127 264)
XYZxyz(4.7758, 3.7008, 18.2283)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#143178 #785B14
analogous
#146378 #143178 #291478
triadic
#143178 #781431 #317814
tetradic
#143178 #781463 #785B14 #147829
square
#143178 #781463 #785B14 #147829
split-complementary
#143178 #782914 #637814
monochromatic
#040B1A #0B1C44 #143178 #1D46AC #2B5EDC

Accessibility & contrast

On white

12.07
#143178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#143178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #143178
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##143178#FFFFFF#000000##FFFFFF
##1431781.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003277
Tritanopia (blue-blind)
#00434F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #143178;
/* rgb */ color: rgb(20, 49, 120);
/* oklch */ color: oklch(34.0% 0.127 264.0);
Tailwind
colors: {
  custom: {
    50: '#6468a0',
    500: '#143178',
    950: '#000000',
  },
}
SCSS
$custom: #143178;
$custom-light: #6468a0;
$custom-dark: #000000;
JSON
{
  "hex": "#143178",
  "rgb": {
    "r": 20,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 222.6,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33971,
    "c": 0.12655,
    "h": 264
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#143178
secondary
#AE8C3A
accent
#BA3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060F
muted
#7A7A7E

Preview Lab

Preview with #143178

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

Preview Lab → · Contrast checker → · Palette generator →

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