#4241E2#4241E2

#4241E2 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.2% C 0.235 H 273.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4241E2
RGBrgb(66, 65, 226)
HSLhsl(240, 74%, 57%)
HSVhsv(240, 71%, 89%)
CMYKcmyk(70.8%, 71.2%, 0%, 11.4%)
CIE-LABlab(38.60, 51.04, -80.91)
CIE-LCHlch(38.60, 95.67, 302.24°)
OKLaboklab(49.23% 0.0158 -0.234)
OKLCHoklch(49.23% 0.235 273.9)
XYZxyz(17.8600, 10.4281, 73.0083)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4241E2 #E1E241
analogous
#4190E2 #4241E2 #9341E2
triadic
#4241E2 #E24241 #41E242
tetradic
#4241E2 #E24190 #E1E241 #41E293
square
#4241E2 #E24190 #E1E241 #41E293
split-complementary
#4241E2 #E29341 #90E241
monochromatic
#171692 #1F1EC7 #4241E2 #7776EA #ACABF2

Accessibility & contrast

On white

6.80
#4241E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4241E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4241E2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4241E2#FFFFFF#000000##FFFFFF
##4241E21.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E7
Deuteranopia (green-blind)
#0053DF
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4241e2;
/* rgb */ color: rgb(66, 65, 226);
/* oklch */ color: oklch(49.2% 0.235 273.9);
Tailwind
colors: {
  custom: {
    50: '#8d77ec',
    500: '#4241e2',
    950: '#000000',
  },
}
SCSS
$custom: #4241e2;
$custom-light: #8d77ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4241e2",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 240.373,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.49227,
    "c": 0.23454,
    "h": 273.9
  },
  "luminance": 0.1043
}

Semantic roles & 50–950 ramp

primary
#4241E2
secondary
#E0E09F
accent
#F038EF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4241E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4241E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva