#424170#424170

#424170 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.078 H 283.2°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#424170
RGBrgb(66, 65, 112)
HSLhsl(241, 27%, 35%)
HSVhsv(241, 42%, 44%)
CMYKcmyk(41.1%, 42%, 0%, 56.1%)
CIE-LABlab(29.68, 13.27, -27.07)
CIE-LCHlch(29.68, 30.15, 296.13°)
OKLaboklab(39.9% 0.0179 -0.0761)
OKLCHoklch(39.9% 0.078 283.2)
XYZxyz(7.0609, 6.1084, 16.1331)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424170 #6F7041
analogous
#415770 #424170 #5A4170
triadic
#424170 #704241 #417042
tetradic
#424170 #704157 #6F7041 #41705A
square
#424170 #704157 #6F7041 #41705A
split-complementary
#424170 #705A41 #577041
monochromatic
#141423 #2B2B49 #424170 #595797 #7B7AB2

Accessibility & contrast

On white

9.45
#424170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#424170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424170
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424170#FFFFFF#000000##FFFFFF
##4241701.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314772
Deuteranopia (green-blind)
#2F446F
Tritanopia (blue-blind)
#354A53
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #424170;
/* rgb */ color: rgb(66, 65, 112);
/* oklch */ color: oklch(39.9% 0.078 283.2);
Tailwind
colors: {
  custom: {
    50: '#797599',
    500: '#424170',
    950: '#000000',
  },
}
SCSS
$custom: #424170;
$custom-light: #797599;
$custom-dark: #000000;
JSON
{
  "hex": "#424170",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 241.277,
    "s": 26.554,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39895,
    "c": 0.07821,
    "h": 283.2
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#424170
secondary
#9C9D70
accent
#C365C1
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #424170

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

Preview Lab → · Contrast checker → · Palette generator →

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