#4A71DB#4A71DB

#4A71DB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.168 H 266.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4A71DB
RGBrgb(74, 113, 219)
HSLhsl(224, 67%, 57%)
HSVhsv(224, 66%, 86%)
CMYKcmyk(66.2%, 48.4%, 0%, 14.1%)
CIE-LABlab(49.95, 20.43, -58.42)
CIE-LCHlch(49.95, 61.89, 289.27°)
OKLaboklab(57.58% -0.0115 -0.1674)
OKLCHoklch(57.58% 0.168 266.1)
XYZxyz(21.5109, 18.3785, 69.4179)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71DB #DBB44A
analogous
#4ABADB #4A71DB #6C4ADB
triadic
#4A71DB #DB4A71 #71DB4A
tetradic
#4A71DB #DB4ABA #DBB44A #4ADB6C
square
#4A71DB #DB4ABA #DBB44A #4ADB6C
split-complementary
#4A71DB #DB6C4A #BADB4A
monochromatic
#1C3B8E #2650C1 #4A71DB #7D99E5 #B0C1EF

Accessibility & contrast

On white

4.49
#4A71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4A71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A71DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71DB#FFFFFF#000000##000000
##4A71DB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#1171D9
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a71db;
/* rgb */ color: rgb(74, 113, 219);
/* oklch */ color: oklch(57.6% 0.168 266.1);
Tailwind
colors: {
  custom: {
    50: '#8b99e7',
    500: '#4a71db',
    950: '#000000',
  },
}
SCSS
$custom: #4a71db;
$custom-light: #8b99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71db",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 223.862,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.16783,
    "h": 266.1
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#4A71DB
secondary
#DECEA3
accent
#BC3EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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