#424078#424078

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

Color values

HEX#424078
RGBrgb(66, 64, 120)
HSLhsl(242, 30%, 36%)
HSVhsv(242, 47%, 47%)
CMYKcmyk(45%, 46.7%, 0%, 52.9%)
CIE-LABlab(29.86, 16.48, -31.83)
CIE-LCHlch(29.86, 35.84, 297.37°)
OKLaboklab(40.18% 0.0208 -0.09)
OKLCHoklch(40.18% 0.092 283)
XYZxyz(7.4693, 6.1808, 18.5651)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424078 #767840
analogous
#405A78 #424078 #5E4078
triadic
#424078 #784240 #407842
tetradic
#424078 #78405A #767840 #40785E
square
#424078 #78405A #767840 #40785E
split-complementary
#424078 #785E40 #5A7840
monochromatic
#161528 #2C2B50 #424078 #5855A0 #7C7AB8

Accessibility & contrast

On white

9.39
#424078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #424078
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424078#FFFFFF#000000##FFFFFF
##4240781.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B487A
Deuteranopia (green-blind)
#284477
Tritanopia (blue-blind)
#314B56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #424078;
/* rgb */ color: rgb(66, 64, 120);
/* oklch */ color: oklch(40.2% 0.092 283.0);
Tailwind
colors: {
  custom: {
    50: '#79749f',
    500: '#424078',
    950: '#000000',
  },
}
SCSS
$custom: #424078;
$custom-light: #79749f;
$custom-dark: #000000;
JSON
{
  "hex": "#424078",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 242.143,
    "s": 30.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40183,
    "c": 0.09241,
    "h": 283
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#424078
secondary
#A1A371
accent
#C761C3
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #424078

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

Preview Lab → · Contrast checker → · Palette generator →

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