#4741D8#4741D8

#4741D8 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.221 H 276.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4741D8
RGBrgb(71, 65, 216)
HSLhsl(242, 66%, 55%)
HSVhsv(242, 70%, 85%)
CMYKcmyk(67.1%, 69.9%, 0%, 15.3%)
CIE-LABlab(37.98, 48.38, -76.20)
CIE-LCHlch(37.98, 90.26, 302.41°)
OKLaboklab(48.58% 0.0233 -0.2201)
OKLCHoklch(48.58% 0.221 276)
XYZxyz(16.8794, 10.0765, 66.0079)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4741D8 #D2D841
analogous
#4187D8 #4741D8 #9241D8
triadic
#4741D8 #D84741 #41D847
tetradic
#4741D8 #D84187 #D2D841 #41D892
square
#4741D8 #D84187 #D2D841 #41D892
split-complementary
#4741D8 #D89241 #87D841
monochromatic
#1F1B84 #2B25B6 #4741D8 #7874E2 #A9A7ED

Accessibility & contrast

On white

6.96
#4741D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4741D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4741D8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4741D8#FFFFFF#000000##FFFFFF
##4741D81.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DD
Deuteranopia (green-blind)
#0053D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4741d8;
/* rgb */ color: rgb(71, 65, 216);
/* oklch */ color: oklch(48.6% 0.221 276.0);
Tailwind
colors: {
  custom: {
    50: '#8d77e5',
    500: '#4741d8',
    950: '#000000',
  },
}
SCSS
$custom: #4741d8;
$custom-light: #8d77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4741d8",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 242.384,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.22136,
    "h": 276
  },
  "luminance": 0.10078
}

Semantic roles & 50–950 ramp

primary
#4741D8
secondary
#D8DA9B
accent
#E93FE2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4741D8

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

Preview Lab → · Contrast checker → · Palette generator →

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