#4242CA#4242CA

#4242CA is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.1% C 0.204 H 275.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4242CA
RGBrgb(66, 66, 202)
HSLhsl(240, 56%, 53%)
HSVhsv(240, 67%, 79%)
CMYKcmyk(67.3%, 67.3%, 0%, 20.8%)
CIE-LABlab(36.59, 42.63, -70.41)
CIE-LCHlch(36.59, 82.31, 301.20°)
OKLaboklab(47.11% 0.0185 -0.2033)
OKLCHoklch(47.11% 0.204 275.2)
XYZxyz(14.8521, 9.3176, 56.8814)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4242CA #CACA42
analogous
#4286CA #4242CA #8642CA
triadic
#4242CA #CA4242 #42CA42
tetradic
#4242CA #CA4286 #CACA42 #42CA86
square
#4242CA #CA4286 #CACA42 #42CA86
split-complementary
#4242CA #CA8642 #86CA42
monochromatic
#202072 #2D2DA2 #4242CA #7272D7 #A2A2E5

Accessibility & contrast

On white

7.33
#4242CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4242CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4242CA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4242CA#FFFFFF#000000##FFFFFF
##4242CA1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0050C7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4242ca;
/* rgb */ color: rgb(66, 66, 202);
/* oklch */ color: oklch(47.1% 0.204 275.2);
Tailwind
colors: {
  custom: {
    50: '#8877db',
    500: '#4242ca',
    950: '#000000',
  },
}
SCSS
$custom: #4242ca;
$custom-light: #8877db;
$custom-dark: #000000;
JSON
{
  "hex": "#4242ca",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.47109,
    "c": 0.20415,
    "h": 275.2
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#4242CA
secondary
#D1D196
accent
#DF48DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4242CA

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

Preview Lab → · Contrast checker → · Palette generator →

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