#424296#424296

#424296 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.134 H 279.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#424296
RGBrgb(66, 66, 150)
HSLhsl(240, 39%, 42%)
HSVhsv(240, 56%, 59%)
CMYKcmyk(56%, 56%, 0%, 41.2%)
CIE-LABlab(32.38, 25.10, -46.34)
CIE-LCHlch(32.38, 52.70, 298.44°)
OKLaboklab(42.71% 0.0212 -0.1326)
OKLCHoklch(42.71% 0.134 279.1)
XYZxyz(9.6983, 7.2561, 29.7378)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424296 #969642
analogous
#426C96 #424296 #6C4296
triadic
#424296 #964242 #429642
tetradic
#424296 #96426C #969642 #42966C
square
#424296 #96426C #969642 #42966C
split-complementary
#424296 #966C42 #6C9642
monochromatic
#1D1D41 #2F2F6C #424296 #5D5DB8 #8888CB

Accessibility & contrast

On white

8.57
#424296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#424296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424296
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424296#FFFFFF#000000##FFFFFF
##4242961.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5099
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#195565
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #424296;
/* rgb */ color: rgb(66, 66, 150);
/* oklch */ color: oklch(42.7% 0.134 279.1);
Tailwind
colors: {
  custom: {
    50: '#7e76b5',
    500: '#424296',
    950: '#000000',
  },
}
SCSS
$custom: #424296;
$custom-light: #7e76b5;
$custom-dark: #000000;
JSON
{
  "hex": "#424296",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 38.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42712,
    "c": 0.13433,
    "h": 279.1
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #424296

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

Preview Lab → · Contrast checker → · Palette generator →

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