#4A71FF#4A71FF

#4A71FF is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 60.2% C 0.215 H 267.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4A71FF
RGBrgb(74, 113, 255)
HSLhsl(227, 100%, 65%)
HSVhsv(227, 71%, 100%)
CMYKcmyk(71%, 55.7%, 0%, 0%)
CIE-LABlab(52.38, 33.02, -74.63)
CIE-LCHlch(52.38, 81.61, 293.87°)
OKLaboklab(60.19% -0.0085 -0.2151)
OKLCHoklch(60.19% 0.215 267.7)
XYZxyz(26.7729, 20.4833, 97.1310)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71FF #FFD84A
analogous
#4ACBFF #4A71FF #7E4AFF
triadic
#4A71FF #FF4A71 #71FF4A
tetradic
#4A71FF #FF4ACB #FFD84A #4AFF7E
square
#4A71FF #FF4ACB #FFD84A #4AFF7E
split-complementary
#4A71FF #FF7E4A #CBFF4A
monochromatic
#002DCF #0D41FF #4A71FF #87A1FF #C4D1FF

Accessibility & contrast

On white

4.12
#4A71FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4A71FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A71FF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71FF#FFFFFF#000000##000000
##4A71FF1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#0075FC
Tritanopia (blue-blind)
#0094AD
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a71ff;
/* rgb */ color: rgb(74, 113, 255);
/* oklch */ color: oklch(60.2% 0.215 267.7);
Tailwind
colors: {
  custom: {
    50: '#9299ff',
    500: '#4a71ff',
    950: '#000000',
  },
}
SCSS
$custom: #4a71ff;
$custom-light: #9299ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71ff",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 227.072,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60186,
    "c": 0.2153,
    "h": 267.7
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#4A71FF
secondary
#F2E4B3
accent
#B400E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D18
muted
#7E7E86

Preview Lab

Preview with #4A71FF

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

Preview Lab → · Contrast checker → · Palette generator →

#4A71FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva