#424478#424478

#424478 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 41.0% C 0.086 H 280.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#424478
RGBrgb(66, 68, 120)
HSLhsl(238, 29%, 36%)
HSVhsv(238, 45%, 47%)
CMYKcmyk(45%, 43.3%, 0%, 52.9%)
CIE-LABlab(30.99, 13.82, -30.04)
CIE-LCHlch(30.99, 33.07, 294.71°)
OKLaboklab(41.04% 0.0153 -0.0848)
OKLCHoklch(41.04% 0.086 280.2)
XYZxyz(7.7030, 6.6482, 18.6430)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424478 #787642
analogous
#425F78 #424478 #5B4278
triadic
#424478 #784244 #447842
tetradic
#424478 #78425F #787642 #42785B
square
#424478 #78425F #787642 #42785B
split-complementary
#424478 #785B42 #5F7842
monochromatic
#171729 #2C2E51 #424478 #585A9F #7D7FB7

Accessibility & contrast

On white

9.01
#424478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#424478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424478
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424478#FFFFFF#000000##FFFFFF
##4244781.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7A
Deuteranopia (green-blind)
#2E4777
Tritanopia (blue-blind)
#314F58
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #424478;
/* rgb */ color: rgb(66, 68, 120);
/* oklch */ color: oklch(41.0% 0.086 280.2);
Tailwind
colors: {
  custom: {
    50: '#79779f',
    500: '#424478',
    950: '#000000',
  },
}
SCSS
$custom: #424478;
$custom-light: #79779f;
$custom-dark: #000000;
JSON
{
  "hex": "#424478",
  "rgb": {
    "r": 66,
    "g": 68,
    "b": 120
  },
  "hsl": {
    "h": 237.778,
    "s": 29.032,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41041,
    "c": 0.08615,
    "h": 280.2
  },
  "luminance": 0.06649
}

Semantic roles & 50–950 ramp

primary
#424478
secondary
#A2A173
accent
#C262C5
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #424478

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

Preview Lab → · Contrast checker → · Palette generator →

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