#424787#424787

#424787 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.7% C 0.105 H 277.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#424787
RGBrgb(66, 71, 135)
HSLhsl(236, 34%, 39%)
HSVhsv(236, 51%, 53%)
CMYKcmyk(51.1%, 47.4%, 0%, 47.1%)
CIE-LABlab(32.73, 16.77, -36.59)
CIE-LCHlch(32.73, 40.25, 294.61°)
OKLaboklab(42.65% 0.0139 -0.104)
OKLCHoklch(42.65% 0.105 277.6)
XYZxyz(8.8718, 7.4135, 23.8804)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424787 #878242
analogous
#426A87 #424787 #604287
triadic
#424787 #874247 #478742
tetradic
#424787 #87426A #878242 #428760
square
#424787 #87426A #878242 #428760
split-complementary
#424787 #876042 #6A8742
monochromatic
#1A1C35 #2E315E #424787 #595FAE #8286C2

Accessibility & contrast

On white

8.46
#424787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#424787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424787
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424787#FFFFFF#000000##FFFFFF
##4247871.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5089
Deuteranopia (green-blind)
#264A86
Tritanopia (blue-blind)
#275560
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #424787;
/* rgb */ color: rgb(66, 71, 135);
/* oklch */ color: oklch(42.7% 0.105 277.6);
Tailwind
colors: {
  custom: {
    50: '#7b7aaa',
    500: '#424787',
    950: '#000000',
  },
}
SCSS
$custom: #424787;
$custom-light: #7b7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#424787",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 235.652,
    "s": 34.328,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42653,
    "c": 0.10488,
    "h": 277.6
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

primary
#424787
secondary
#ACA978
accent
#C35DCA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #424787

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

Preview Lab → · Contrast checker → · Palette generator →

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