#4A7FDD#4A7FDD

#4A7FDD is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.6% C 0.154 H 261.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4A7FDD
RGBrgb(74, 127, 221)
HSLhsl(218, 68%, 58%)
HSVhsv(218, 67%, 87%)
CMYKcmyk(66.5%, 42.5%, 0%, 13.3%)
CIE-LABlab(53.87, 12.48, -53.27)
CIE-LCHlch(53.87, 54.71, 283.18°)
OKLaboklab(60.63% -0.0242 -0.1521)
OKLCHoklch(60.63% 0.154 261)
XYZxyz(23.4599, 21.8527, 71.3742)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FDD #DDA84A
analogous
#4AC9DD #4A7FDD #5E4ADD
triadic
#4A7FDD #DD4A7F #7FDD4A
tetradic
#4A7FDD #DD4AC9 #DDA84A #4ADD5E
square
#4A7FDD #DD4AC9 #DDA84A #4ADD5E
split-complementary
#4A7FDD #DD5E4A #C9DD4A
monochromatic
#1B4691 #255FC5 #4A7FDD #7EA3E7 #B1C8F0

Accessibility & contrast

On white

3.91
#4A7FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4A7FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FDD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FDD#FFFFFF#000000##000000
##4A7FDD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E1
Deuteranopia (green-blind)
#3A7ADB
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7fdd;
/* rgb */ color: rgb(74, 127, 221);
/* oklch */ color: oklch(60.6% 0.154 261.0);
Tailwind
colors: {
  custom: {
    50: '#8ba3e8',
    500: '#4a7fdd',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fdd;
$custom-light: #8ba3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fdd",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 218.367,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60626,
    "c": 0.15399,
    "h": 261
  },
  "luminance": 0.21855
}

Semantic roles & 50–950 ramp

primary
#4A7FDD
secondary
#DFCAA4
accent
#AC3DEB
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A7FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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