#424796#424796

#424796 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.127 H 277.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#424796
RGBrgb(66, 71, 150)
HSLhsl(236, 39%, 42%)
HSVhsv(236, 56%, 59%)
CMYKcmyk(56%, 52.7%, 0%, 41.2%)
CIE-LABlab(33.70, 21.83, -44.22)
CIE-LCHlch(33.70, 49.31, 296.28°)
OKLaboklab(43.7% 0.0156 -0.1263)
OKLCHoklch(43.7% 0.127 277)
XYZxyz(10.0033, 7.8661, 29.8394)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424796 #969142
analogous
#427196 #424796 #674296
triadic
#424796 #964247 #479642
tetradic
#424796 #964271 #969142 #429667
square
#424796 #964271 #969142 #429667
split-complementary
#424796 #966742 #719642
monochromatic
#1D1F41 #2F336C #424796 #5D63B8 #888CCB

Accessibility & contrast

On white

8.16
#424796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#424796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424796
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424796#FFFFFF#000000##FFFFFF
##4247961.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5399
Deuteranopia (green-blind)
#0F4C94
Tritanopia (blue-blind)
#185967
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #424796;
/* rgb */ color: rgb(66, 71, 150);
/* oklch */ color: oklch(43.7% 0.127 277.0);
Tailwind
colors: {
  custom: {
    50: '#7d7ab5',
    500: '#424796',
    950: '#000000',
  },
}
SCSS
$custom: #424796;
$custom-light: #7d7ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#424796",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 236.429,
    "s": 38.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.437,
    "c": 0.12731,
    "h": 277
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#424796
secondary
#B5B27E
accent
#C859CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #424796

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

Preview Lab → · Contrast checker → · Palette generator →

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