#424781#424781

#424781 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.3% C 0.096 H 277.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#424781
RGBrgb(66, 71, 129)
HSLhsl(235, 32%, 38%)
HSVhsv(235, 49%, 51%)
CMYKcmyk(48.8%, 45%, 0%, 49.4%)
CIE-LABlab(32.37, 14.77, -33.46)
CIE-LCHlch(32.37, 36.58, 293.82°)
OKLaboklab(42.26% 0.0129 -0.0948)
OKLCHoklch(42.26% 0.096 277.8)
XYZxyz(8.4612, 7.2493, 21.7180)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424781 #817C42
analogous
#426681 #424781 #5C4281
triadic
#424781 #814247 #478142
tetradic
#424781 #814266 #817C42 #42815C
square
#424781 #814266 #817C42 #42815C
split-complementary
#424781 #815C42 #668142
monochromatic
#191A30 #2D3159 #424781 #575EA9 #8085BE

Accessibility & contrast

On white

8.57
#424781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#424781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424781
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424781#FFFFFF#000000##FFFFFF
##4247811.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F83
Deuteranopia (green-blind)
#2B4A80
Tritanopia (blue-blind)
#2B535D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #424781;
/* rgb */ color: rgb(66, 71, 129);
/* oklch */ color: oklch(42.3% 0.096 277.8);
Tailwind
colors: {
  custom: {
    50: '#7a7aa6',
    500: '#424781',
    950: '#000000',
  },
}
SCSS
$custom: #424781;
$custom-light: #7a7aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#424781",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 235.238,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4226,
    "c": 0.09565,
    "h": 277.8
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#424781
secondary
#A9A576
accent
#C05FC8
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #424781

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

Preview Lab → · Contrast checker → · Palette generator →

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