#4741FA#4741FA

#4741FA is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.9% C 0.261 H 273.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4741FA
RGBrgb(71, 65, 250)
HSLhsl(242, 95%, 62%)
HSVhsv(242, 74%, 98%)
CMYKcmyk(71.6%, 74%, 0%, 2%)
CIE-LABlab(41.25, 59.01, -90.10)
CIE-LCHlch(41.25, 107.71, 303.22°)
OKLaboklab(51.89% 0.0174 -0.2606)
OKLCHoklch(51.89% 0.261 273.8)
XYZxyz(21.7384, 12.0201, 91.5984)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4741FA #F4FA41
analogous
#4198FA #4741FA #A441FA
triadic
#4741FA #FA4741 #41FA47
tetradic
#4741FA #FA4198 #F4FA41 #41FAA4
square
#4741FA #FA4198 #F4FA41 #41FAA4
split-complementary
#4741FA #FAA441 #98FA41
monochromatic
#0B05BC #0E07F7 #4741FA #817DFC #BAB8FD

Accessibility & contrast

On white

6.17
#4741FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4741FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4741FA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4741FA#FFFFFF#000000##FFFFFF
##4741FA1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AFF
Deuteranopia (green-blind)
#0058F7
Tritanopia (blue-blind)
#00779B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4741fa;
/* rgb */ color: rgb(71, 65, 250);
/* oklch */ color: oklch(51.9% 0.261 273.8);
Tailwind
colors: {
  custom: {
    50: '#9378fd',
    500: '#4741fa',
    950: '#000000',
  },
}
SCSS
$custom: #4741fa;
$custom-light: #9378fd;
$custom-dark: #000000;
JSON
{
  "hex": "#4741fa",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 250
  },
  "hsl": {
    "h": 241.946,
    "s": 94.872,
    "l": 61.765
  },
  "oklch": {
    "l": 0.51888,
    "c": 0.26122,
    "h": 273.8
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#4741FA
secondary
#EBEEA9
accent
#E600DE
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#0F0918
muted
#7F7B86

Preview Lab

Preview with #4741FA

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

Preview Lab → · Contrast checker → · Palette generator →

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