#4A71F8#4A71F8

#4A71F8 is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 59.7% C 0.206 H 267.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4A71F8
RGBrgb(74, 113, 248)
HSLhsl(227, 93%, 63%)
HSVhsv(227, 70%, 97%)
CMYKcmyk(70.2%, 54.4%, 0%, 2.7%)
CIE-LABlab(51.88, 30.58, -71.56)
CIE-LCHlch(51.88, 77.82, 293.14°)
OKLaboklab(59.66% -0.0089 -0.2061)
OKLCHoklch(59.66% 0.206 267.5)
XYZxyz(25.6666, 20.0408, 91.3043)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71F8 #F8D14A
analogous
#4AC8F8 #4A71F8 #7A4AF8
triadic
#4A71F8 #F84A71 #71F84A
tetradic
#4A71F8 #F84AC8 #F8D14A #4AF87A
square
#4A71F8 #F84AC8 #F8D14A #4AF87A
split-complementary
#4A71F8 #F87A4A #C8F84A
monochromatic
#0731C0 #0F43F6 #4A71F8 #859FFA #C0CDFD

Accessibility & contrast

On white

4.19
#4A71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4A71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A71F8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71F8#FFFFFF#000000##000000
##4A71F81.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#0074F5
Tritanopia (blue-blind)
#0092AA
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a71f8;
/* rgb */ color: rgb(74, 113, 248);
/* oklch */ color: oklch(59.7% 0.206 267.5);
Tailwind
colors: {
  custom: {
    50: '#9199fb',
    500: '#4a71f8',
    950: '#000000',
  },
}
SCSS
$custom: #4a71f8;
$custom-light: #9199fb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71f8",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 226.552,
    "s": 92.553,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59657,
    "c": 0.20628,
    "h": 267.5
  },
  "luminance": 0.20043
}

Semantic roles & 50–950 ramp

primary
#4A71F8
secondary
#EEE0B0
accent
#B200E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D18
muted
#7E7E86

Preview Lab

Preview with #4A71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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