#424174#424174

#424174 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.085 H 282.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#424174
RGBrgb(66, 65, 116)
HSLhsl(241, 28%, 35%)
HSVhsv(241, 44%, 45%)
CMYKcmyk(43.1%, 44%, 0%, 54.5%)
CIE-LABlab(29.91, 14.53, -29.24)
CIE-LCHlch(29.91, 32.65, 296.43°)
OKLaboklab(40.14% 0.0187 -0.0824)
OKLCHoklch(40.14% 0.085 282.8)
XYZxyz(7.2885, 6.1995, 17.3322)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424174 #737441
analogous
#415974 #424174 #5B4174
triadic
#424174 #744241 #417442
tetradic
#424174 #744159 #737441 #41745B
square
#424174 #744159 #737441 #41745B
split-complementary
#424174 #745B41 #597441
monochromatic
#151526 #2C2B4D #424174 #58579B #7C7BB5

Accessibility & contrast

On white

9.38
#424174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#424174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424174
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424174#FFFFFF#000000##FFFFFF
##4241741.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4876
Deuteranopia (green-blind)
#2C4573
Tritanopia (blue-blind)
#334B55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #424174;
/* rgb */ color: rgb(66, 65, 116);
/* oklch */ color: oklch(40.1% 0.085 282.8);
Tailwind
colors: {
  custom: {
    50: '#79759c',
    500: '#424174',
    950: '#000000',
  },
}
SCSS
$custom: #424174;
$custom-light: #79759c;
$custom-dark: #000000;
JSON
{
  "hex": "#424174",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 241.176,
    "s": 28.177,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40141,
    "c": 0.08455,
    "h": 282.8
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#424174
secondary
#9FA071
accent
#C463C3
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #424174

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

Preview Lab → · Contrast checker → · Palette generator →

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