#4242DA#4242DA

#4242DA is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.224 H 274.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4242DA
RGBrgb(66, 66, 218)
HSLhsl(240, 67%, 56%)
HSVhsv(240, 70%, 85%)
CMYKcmyk(69.7%, 69.7%, 0%, 14.5%)
CIE-LABlab(38.05, 47.89, -77.25)
CIE-LCHlch(38.05, 90.89, 301.80°)
OKLaboklab(48.6% 0.0165 -0.2233)
OKLCHoklch(48.6% 0.224 274.2)
XYZxyz(16.8457, 10.1150, 67.3807)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4242DA #DADA42
analogous
#428EDA #4242DA #8E42DA
triadic
#4242DA #DA4242 #42DA42
tetradic
#4242DA #DA428E #DADA42 #42DA8E
square
#4242DA #DA428E #DADA42 #42DA8E
split-complementary
#4242DA #DA8E42 #8EDA42
monochromatic
#1A1A87 #2424BA #4242DA #7575E4 #A8A8EE

Accessibility & contrast

On white

6.95
#4242DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4242DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4242DA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4242DA#FFFFFF#000000##FFFFFF
##4242DA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061DF
Deuteranopia (green-blind)
#0052D7
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4242da;
/* rgb */ color: rgb(66, 66, 218);
/* oklch */ color: oklch(48.6% 0.224 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b78e7',
    500: '#4242da',
    950: '#000000',
  },
}
SCSS
$custom: #4242da;
$custom-light: #8b78e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4242da",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 240,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.48604,
    "c": 0.22392,
    "h": 274.2
  },
  "luminance": 0.10117
}

Semantic roles & 50–950 ramp

primary
#4242DA
secondary
#DBDB9C
accent
#EA3EEA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4242DA

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

Preview Lab → · Contrast checker → · Palette generator →

#4242DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva