#142574#142574

#142574 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.136 H 267.7°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#142574
RGBrgb(20, 37, 116)
HSLhsl(229, 71%, 27%)
HSVhsv(229, 83%, 45%)
CMYKcmyk(82.8%, 68.1%, 0%, 54.5%)
CIE-LABlab(18.94, 24.78, -47.10)
CIE-LCHlch(18.94, 53.22, 297.75°)
OKLaboklab(31.09% -0.0055 -0.1363)
OKLCHoklch(31.09% 0.136 267.7)
XYZxyz(4.1013, 2.7323, 16.8308)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#142574 #746314
analogous
#145574 #142574 #331474
triadic
#142574 #741425 #257414
tetradic
#142574 #741455 #746314 #147433
square
#142574 #741455 #746314 #147433
split-complementary
#142574 #743314 #557414
monochromatic
#05081A #0B1440 #142574 #1D36A8 #2848DA

Accessibility & contrast

On white

13.58
#142574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#142574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #142574
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##142574#FFFFFF#000000##FFFFFF
##1425741.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #142574;
/* rgb */ color: rgb(20, 37, 116);
/* oklch */ color: oklch(31.1% 0.136 267.7);
Tailwind
colors: {
  custom: {
    50: '#645f9d',
    500: '#142574',
    950: '#000000',
  },
}
SCSS
$custom: #142574;
$custom-light: #645f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#142574",
  "rgb": {
    "r": 20,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 229.375,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31092,
    "c": 0.13645,
    "h": 267.7
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#142574
secondary
#AA963A
accent
#CE3AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #142574

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

Preview Lab → · Contrast checker → · Palette generator →

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