#4A7CDD#4A7CDD

#4A7CDD is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.157 H 262.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4A7CDD
RGBrgb(74, 124, 221)
HSLhsl(220, 68%, 58%)
HSVhsv(220, 67%, 87%)
CMYKcmyk(66.5%, 43.9%, 0%, 13.3%)
CIE-LABlab(53.05, 14.31, -54.59)
CIE-LCHlch(53.05, 56.43, 284.69°)
OKLaboklab(59.99% -0.0214 -0.156)
OKLCHoklch(59.99% 0.157 262.2)
XYZxyz(23.0782, 21.0893, 71.2470)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7CDD #DDAB4A
analogous
#4AC5DD #4A7CDD #614ADD
triadic
#4A7CDD #DD4A7C #7CDD4A
tetradic
#4A7CDD #DD4AC5 #DDAB4A #4ADD61
square
#4A7CDD #DD4AC5 #DDAB4A #4ADD61
split-complementary
#4A7CDD #DD614A #C5DD4A
monochromatic
#1B4391 #255BC5 #4A7CDD #7EA1E7 #B1C7F0

Accessibility & contrast

On white

4.02
#4A7CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4A7CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7CDD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7CDD#FFFFFF#000000##000000
##4A7CDD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E1
Deuteranopia (green-blind)
#3478DB
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7cdd;
/* rgb */ color: rgb(74, 124, 221);
/* oklch */ color: oklch(60.0% 0.157 262.2);
Tailwind
colors: {
  custom: {
    50: '#8ba1e8',
    500: '#4a7cdd',
    950: '#000000',
  },
}
SCSS
$custom: #4a7cdd;
$custom-light: #8ba1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7cdd",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 219.592,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59991,
    "c": 0.15745,
    "h": 262.2
  },
  "luminance": 0.21092
}

Semantic roles & 50–950 ramp

primary
#4A7CDD
secondary
#DFCBA4
accent
#B03DEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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