#4741EA#4741EA

#4741EA is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.3% C 0.243 H 274.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4741EA
RGBrgb(71, 65, 234)
HSLhsl(242, 80%, 59%)
HSVhsv(242, 72%, 92%)
CMYKcmyk(69.7%, 72.2%, 0%, 8.2%)
CIE-LABlab(39.68, 54.07, -83.67)
CIE-LCHlch(39.68, 99.62, 302.87°)
OKLaboklab(50.31% 0.0203 -0.2419)
OKLCHoklch(50.31% 0.243 274.8)
XYZxyz(19.3352, 11.0588, 78.9415)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4741EA #E4EA41
analogous
#418FEA #4741EA #9B41EA
triadic
#4741EA #EA4741 #41EA47
tetradic
#4741EA #EA418F #E4EA41 #41EA9B
square
#4741EA #EA418F #E4EA41 #41EA9B
split-complementary
#4741EA #EA9B41 #8FEA41
monochromatic
#17129F #1E18D6 #4741EA #7C78F0 #B2AFF6

Accessibility & contrast

On white

6.54
#4741EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4741EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4741EA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4741EA#FFFFFF#000000##FFFFFF
##4741EA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4741ea;
/* rgb */ color: rgb(71, 65, 234);
/* oklch */ color: oklch(50.3% 0.243 274.8);
Tailwind
colors: {
  custom: {
    50: '#9078f2',
    500: '#4741ea',
    950: '#000000',
  },
}
SCSS
$custom: #4741ea;
$custom-light: #9078f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4741ea",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 242.13,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.24278,
    "h": 274.8
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#4741EA
secondary
#E2E5A2
accent
#F731F0
background
#F9F7FF
surface
#F2EDFE
border
#CCC8D6
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4741EA

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

Preview Lab → · Contrast checker → · Palette generator →

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