#42427A#42427A

#42427A is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.7% C 0.092 H 281.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#42427A
RGBrgb(66, 66, 122)
HSLhsl(240, 30%, 37%)
HSVhsv(240, 46%, 48%)
CMYKcmyk(45.9%, 45.9%, 0%, 52.2%)
CIE-LABlab(30.54, 15.79, -32.00)
CIE-LCHlch(30.54, 35.69, 296.27°)
OKLaboklab(40.74% 0.0184 -0.0905)
OKLCHoklch(40.74% 0.092 281.5)
XYZxyz(7.7068, 6.4595, 19.2493)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42427A #7A7A42
analogous
#425E7A #42427A #5E427A
triadic
#42427A #7A4242 #427A42
tetradic
#42427A #7A425E #7A7A42 #427A5E
square
#42427A #7A425E #7A7A42 #427A5E
split-complementary
#42427A #7A5E42 #5E7A42
monochromatic
#17172B #2D2D52 #42427A #5757A2 #7D7DB9

Accessibility & contrast

On white

9.16
#42427A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#42427A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42427A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42427A#FFFFFF#000000##FFFFFF
##42427A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7C
Deuteranopia (green-blind)
#294679
Tritanopia (blue-blind)
#304D58
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #42427a;
/* rgb */ color: rgb(66, 66, 122);
/* oklch */ color: oklch(40.7% 0.092 281.5);
Tailwind
colors: {
  custom: {
    50: '#7a76a1',
    500: '#42427a',
    950: '#000000',
  },
}
SCSS
$custom: #42427a;
$custom-light: #7a76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42427a",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 122
  },
  "hsl": {
    "h": 240,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40737,
    "c": 0.09238,
    "h": 281.5
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#42427A
secondary
#A4A474
accent
#C662C6
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#09080F
muted
#7B7B7E

Preview Lab

Preview with #42427A

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

Preview Lab → · Contrast checker → · Palette generator →

#42427A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva