#424282#424282

#424282 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.3% C 0.105 H 280.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#424282
RGBrgb(66, 66, 130)
HSLhsl(240, 33%, 38%)
HSVhsv(240, 49%, 51%)
CMYKcmyk(49.2%, 49.2%, 0%, 49%)
CIE-LABlab(31.03, 18.41, -36.21)
CIE-LCHlch(31.03, 40.62, 296.95°)
OKLaboklab(41.27% 0.0196 -0.1029)
OKLCHoklch(41.27% 0.105 280.8)
XYZxyz(8.2230, 6.6660, 21.9681)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424282 #828242
analogous
#426282 #424282 #624282
triadic
#424282 #824242 #428242
tetradic
#424282 #824262 #828242 #428262
square
#424282 #824262 #828242 #428262
split-complementary
#424282 #826242 #628242
monochromatic
#191931 #2D2D59 #424282 #5757AA #8080BE

Accessibility & contrast

On white

9.00
#424282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #424282
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424282#FFFFFF#000000##FFFFFF
##4242821.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B84
Deuteranopia (green-blind)
#224781
Tritanopia (blue-blind)
#2B505B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #424282;
/* rgb */ color: rgb(66, 66, 130);
/* oklch */ color: oklch(41.3% 0.105 280.8);
Tailwind
colors: {
  custom: {
    50: '#7b76a7',
    500: '#424282',
    950: '#000000',
  },
}
SCSS
$custom: #424282;
$custom-light: #7b76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#424282",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 32.653,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.10472,
    "h": 280.8
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#424282
secondary
#A9A977
accent
#C95FC9
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #424282

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

Preview Lab → · Contrast checker → · Palette generator →

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