#424297#424297

#424297 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.136 H 279.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#424297
RGBrgb(66, 66, 151)
HSLhsl(240, 39%, 43%)
HSVhsv(240, 56%, 59%)
CMYKcmyk(56.3%, 56.3%, 0%, 40.8%)
CIE-LABlab(32.45, 25.44, -46.84)
CIE-LCHlch(32.45, 53.30, 298.51°)
OKLaboklab(42.79% 0.0212 -0.1341)
OKLCHoklch(42.79% 0.136 279)
XYZxyz(9.7791, 7.2884, 30.1637)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424297 #979742
analogous
#426C97 #424297 #6C4297
triadic
#424297 #974242 #429742
tetradic
#424297 #97426C #979742 #42976C
square
#424297 #97426C #979742 #42976C
split-complementary
#424297 #976C42 #6C9742
monochromatic
#1D1D42 #2F2F6C #424297 #5E5EB8 #8888CB

Accessibility & contrast

On white

8.54
#424297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#424297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424297
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424297#FFFFFF#000000##FFFFFF
##4242971.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#185666
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #424297;
/* rgb */ color: rgb(66, 66, 151);
/* oklch */ color: oklch(42.8% 0.136 279.0);
Tailwind
colors: {
  custom: {
    50: '#7e76b6',
    500: '#424297',
    950: '#000000',
  },
}
SCSS
$custom: #424297;
$custom-light: #7e76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#424297",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.13577,
    "h": 279
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#424297
secondary
#B6B67F
accent
#CF59CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #424297

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

Preview Lab → · Contrast checker → · Palette generator →

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