#4A7DDE#4A7DDE

#4A7DDE is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.3% C 0.158 H 261.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4A7DDE
RGBrgb(74, 125, 222)
HSLhsl(219, 69%, 58%)
HSVhsv(219, 67%, 87%)
CMYKcmyk(66.7%, 43.7%, 0%, 12.9%)
CIE-LABlab(53.38, 14.05, -54.62)
CIE-LCHlch(53.38, 56.40, 284.43°)
OKLaboklab(60.27% -0.0221 -0.1561)
OKLCHoklch(60.27% 0.158 261.9)
XYZxyz(23.3378, 21.3947, 71.9928)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7DDE #DEAB4A
analogous
#4AC7DE #4A7DDE #614ADE
triadic
#4A7DDE #DE4A7D #7DDE4A
tetradic
#4A7DDE #DE4AC7 #DEAB4A #4ADE61
square
#4A7DDE #DE4AC7 #DEAB4A #4ADE61
split-complementary
#4A7DDE #DE614A #C7DE4A
monochromatic
#1B4493 #245CC7 #4A7DDE #7EA2E7 #B2C7F1

Accessibility & contrast

On white

3.98
#4A7DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4A7DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7DDE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7DDE#FFFFFF#000000##000000
##4A7DDE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E2
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7dde;
/* rgb */ color: rgb(74, 125, 222);
/* oklch */ color: oklch(60.3% 0.158 261.9);
Tailwind
colors: {
  custom: {
    50: '#8ca2e9',
    500: '#4a7dde',
    950: '#000000',
  },
}
SCSS
$custom: #4a7dde;
$custom-light: #8ca2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7dde",
  "rgb": {
    "r": 74,
    "g": 125,
    "b": 222
  },
  "hsl": {
    "h": 219.324,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60265,
    "c": 0.15763,
    "h": 261.9
  },
  "luminance": 0.21397
}

Semantic roles & 50–950 ramp

primary
#4A7DDE
secondary
#DFCBA4
accent
#AF3CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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