#424271#424271

#424271 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.078 H 282.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#424271
RGBrgb(66, 66, 113)
HSLhsl(240, 26%, 35%)
HSVhsv(240, 42%, 44%)
CMYKcmyk(41.6%, 41.6%, 0%, 55.7%)
CIE-LABlab(30.03, 12.92, -27.16)
CIE-LCHlch(30.03, 30.08, 295.45°)
OKLaboklab(40.17% 0.0167 -0.0764)
OKLCHoklch(40.17% 0.078 282.3)
XYZxyz(7.1748, 6.2467, 16.4473)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424271 #717142
analogous
#425971 #424271 #594271
triadic
#424271 #714242 #427142
tetradic
#424271 #714259 #717142 #427159
square
#424271 #714259 #717142 #427159
split-complementary
#424271 #715942 #597142
monochromatic
#151524 #2B2B4A #424271 #595998 #7B7BB2

Accessibility & contrast

On white

9.34
#424271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#424271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424271
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424271#FFFFFF#000000##FFFFFF
##4242711.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324873
Deuteranopia (green-blind)
#304570
Tritanopia (blue-blind)
#344B54
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #424271;
/* rgb */ color: rgb(66, 66, 113);
/* oklch */ color: oklch(40.2% 0.078 282.3);
Tailwind
colors: {
  custom: {
    50: '#79769a',
    500: '#424271',
    950: '#000000',
  },
}
SCSS
$custom: #424271;
$custom-light: #79769a;
$custom-dark: #000000;
JSON
{
  "hex": "#424271",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 240,
    "s": 26.257,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40175,
    "c": 0.07819,
    "h": 282.3
  },
  "luminance": 0.06247
}

Semantic roles & 50–950 ramp

primary
#424271
secondary
#9D9D71
accent
#C365C3
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #424271

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

Preview Lab → · Contrast checker → · Palette generator →

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