#424782#424782

#424782 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.3% C 0.097 H 277.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#424782
RGBrgb(66, 71, 130)
HSLhsl(235, 33%, 38%)
HSVhsv(235, 49%, 51%)
CMYKcmyk(49.2%, 45.4%, 0%, 49%)
CIE-LABlab(32.43, 15.10, -33.99)
CIE-LCHlch(32.43, 37.19, 293.96°)
OKLaboklab(42.32% 0.0131 -0.0963)
OKLCHoklch(42.32% 0.097 277.7)
XYZxyz(8.5280, 7.2760, 22.0698)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424782 #827D42
analogous
#426782 #424782 #5D4282
triadic
#424782 #824247 #478242
tetradic
#424782 #824267 #827D42 #42825D
square
#424782 #824267 #827D42 #42825D
split-complementary
#424782 #825D42 #678242
monochromatic
#191B31 #2D3159 #424782 #575EAA #8085BE

Accessibility & contrast

On white

8.55
#424782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#424782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424782
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424782#FFFFFF#000000##FFFFFF
##4247821.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4F84
Deuteranopia (green-blind)
#2A4A81
Tritanopia (blue-blind)
#2B535E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #424782;
/* rgb */ color: rgb(66, 71, 130);
/* oklch */ color: oklch(42.3% 0.097 277.7);
Tailwind
colors: {
  custom: {
    50: '#7a7aa7',
    500: '#424782',
    950: '#000000',
  },
}
SCSS
$custom: #424782;
$custom-light: #7a7aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#424782",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 235.313,
    "s": 32.653,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42324,
    "c": 0.0972,
    "h": 277.7
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#424782
secondary
#A9A577
accent
#C15FC9
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #424782

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

Preview Lab → · Contrast checker → · Palette generator →

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