#142670#142670

#142670 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.130 H 267.4°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#142670
RGBrgb(20, 38, 112)
HSLhsl(228, 70%, 26%)
HSVhsv(228, 82%, 44%)
CMYKcmyk(82.1%, 66.1%, 0%, 56.1%)
CIE-LABlab(18.82, 22.45, -44.71)
CIE-LCHlch(18.82, 50.03, 296.66°)
OKLaboklab(30.88% -0.006 -0.1294)
OKLCHoklch(30.88% 0.13 267.4)
XYZxyz(3.9052, 2.7044, 15.6423)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142670 #705E14
analogous
#145470 #142670 #301470
triadic
#142670 #701426 #267014
tetradic
#142670 #701454 #705E14 #147030
square
#142670 #701454 #705E14 #147030
split-complementary
#142670 #703014 #547014
monochromatic
#05091A #0B143C #142670 #1D38A4 #2749D8

Accessibility & contrast

On white

13.63
#142670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #142670
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142670#FFFFFF#000000##FFFFFF
##1426701.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142670;
/* rgb */ color: rgb(20, 38, 112);
/* oklch */ color: oklch(30.9% 0.130 267.4);
Tailwind
colors: {
  custom: {
    50: '#63609a',
    500: '#142670',
    950: '#000000',
  },
}
SCSS
$custom: #142670;
$custom-light: #63609a;
$custom-dark: #000000;
JSON
{
  "hex": "#142670",
  "rgb": {
    "r": 20,
    "g": 38,
    "b": 112
  },
  "hsl": {
    "h": 228.261,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30884,
    "c": 0.1295,
    "h": 267.4
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#142670
secondary
#A69139
accent
#CA3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142670

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

Preview Lab → · Contrast checker → · Palette generator →

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