#4241EA#4241EA

#4241EA is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 50.0% C 0.244 H 273.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4241EA
RGBrgb(66, 65, 234)
HSLhsl(240, 80%, 59%)
HSVhsv(240, 72%, 92%)
CMYKcmyk(71.8%, 72.2%, 0%, 8.2%)
CIE-LABlab(39.37, 53.59, -84.19)
CIE-LCHlch(39.37, 99.80, 302.48°)
OKLaboklab(50.01% 0.0145 -0.2435)
OKLCHoklch(50.01% 0.244 273.4)
XYZxyz(18.9834, 10.8774, 78.9251)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4241EA #E9EA41
analogous
#4194EA #4241EA #9641EA
triadic
#4241EA #EA4241 #41EA42
tetradic
#4241EA #EA4194 #E9EA41 #41EA96
square
#4241EA #EA4194 #E9EA41 #41EA96
split-complementary
#4241EA #EA9641 #94EA41
monochromatic
#12129F #1918D6 #4241EA #7978F0 #B0AFF6

Accessibility & contrast

On white

6.61
#4241EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4241EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4241EA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4241EA#FFFFFF#000000##FFFFFF
##4241EA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065EF
Deuteranopia (green-blind)
#0055E7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4241ea;
/* rgb */ color: rgb(66, 65, 234);
/* oklch */ color: oklch(50.0% 0.244 273.4);
Tailwind
colors: {
  custom: {
    50: '#8e77f2',
    500: '#4241ea',
    950: '#000000',
  },
}
SCSS
$custom: #4241ea;
$custom-light: #8e77f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4241ea",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 240.355,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5001,
    "c": 0.24398,
    "h": 273.4
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#4241EA
secondary
#E4E5A2
accent
#F731F5
background
#F9F7FF
surface
#F2EDFE
border
#CCC8D6
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #4241EA

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

Preview Lab → · Contrast checker → · Palette generator →

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