#424279#424279

#424279 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.7% C 0.091 H 281.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#424279
RGBrgb(66, 66, 121)
HSLhsl(240, 29%, 37%)
HSVhsv(240, 45%, 47%)
CMYKcmyk(45.5%, 45.5%, 0%, 52.5%)
CIE-LABlab(30.48, 15.47, -31.47)
CIE-LCHlch(30.48, 35.07, 296.18°)
OKLaboklab(40.67% 0.0182 -0.089)
OKLCHoklch(40.67% 0.091 281.6)
XYZxyz(7.6452, 6.4348, 18.9247)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424279 #797942
analogous
#425E79 #424279 #5E4279
triadic
#424279 #794242 #427942
tetradic
#424279 #79425E #797942 #42795E
square
#424279 #79425E #797942 #42795E
split-complementary
#424279 #795E42 #5E7942
monochromatic
#17172A #2C2C51 #424279 #5858A1 #7D7DB8

Accessibility & contrast

On white

9.18
#424279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#424279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424279
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424279#FFFFFF#000000##FFFFFF
##4242791.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#2A4678
Tritanopia (blue-blind)
#304D57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #424279;
/* rgb */ color: rgb(66, 66, 121);
/* oklch */ color: oklch(40.7% 0.091 281.6);
Tailwind
colors: {
  custom: {
    50: '#7a76a0',
    500: '#424279',
    950: '#000000',
  },
}
SCSS
$custom: #424279;
$custom-light: #7a76a0;
$custom-dark: #000000;
JSON
{
  "hex": "#424279",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 240,
    "s": 29.412,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.09083,
    "h": 281.6
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#424279
secondary
#A3A374
accent
#C662C6
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #424279

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

Preview Lab → · Contrast checker → · Palette generator →

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