#42427D#42427D

#42427D is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.9% C 0.097 H 281.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#42427D
RGBrgb(66, 66, 125)
HSLhsl(240, 31%, 37%)
HSVhsv(240, 47%, 49%)
CMYKcmyk(47.2%, 47.2%, 0%, 51%)
CIE-LABlab(30.72, 16.77, -33.59)
CIE-LCHlch(30.72, 37.54, 296.53°)
OKLaboklab(40.93% 0.0189 -0.0952)
OKLCHoklch(40.93% 0.097 281.2)
XYZxyz(7.8955, 6.5350, 20.2434)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42427D #7D7D42
analogous
#42607D #42427D #60427D
triadic
#42427D #7D4242 #427D42
tetradic
#42427D #7D4260 #7D7D42 #427D60
square
#42427D #7D4260 #7D7D42 #427D60
split-complementary
#42427D #7D6042 #607D42
monochromatic
#18182D #2D2D55 #42427D #5757A5 #7E7EBB

Accessibility & contrast

On white

9.10
#42427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#42427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42427D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42427D#FFFFFF#000000##FFFFFF
##42427D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B7F
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#2E4E59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #42427d;
/* rgb */ color: rgb(66, 66, 125);
/* oklch */ color: oklch(40.9% 0.097 281.2);
Tailwind
colors: {
  custom: {
    50: '#7a76a3',
    500: '#42427d',
    950: '#000000',
  },
}
SCSS
$custom: #42427d;
$custom-light: #7a76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42427d",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40933,
    "c": 0.09705,
    "h": 281.2
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#42427D
secondary
#A6A675
accent
#C761C7
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #42427D

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

Preview Lab → · Contrast checker → · Palette generator →

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