#4A7FDE#4A7FDE

#4A7FDE is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.7% C 0.155 H 261.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4A7FDE
RGBrgb(74, 127, 222)
HSLhsl(219, 69%, 58%)
HSVhsv(219, 67%, 87%)
CMYKcmyk(66.7%, 42.8%, 0%, 12.9%)
CIE-LABlab(53.93, 12.82, -53.74)
CIE-LCHlch(53.93, 55.25, 283.42°)
OKLaboklab(60.69% -0.024 -0.1535)
OKLCHoklch(60.69% 0.155 261.1)
XYZxyz(23.5935, 21.9062, 72.0780)
Luminance0.2191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FDE #DEA94A
analogous
#4AC9DE #4A7FDE #5F4ADE
triadic
#4A7FDE #DE4A7F #7FDE4A
tetradic
#4A7FDE #DE4AC9 #DEA94A #4ADE5F
square
#4A7FDE #DE4AC9 #DEA94A #4ADE5F
split-complementary
#4A7FDE #DE5F4A #C9DE4A
monochromatic
#1B4693 #245EC7 #4A7FDE #7EA4E7 #B2C8F1

Accessibility & contrast

On white

3.90
#4A7FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#4A7FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FDE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FDE#FFFFFF#000000##000000
##4A7FDE1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E2
Deuteranopia (green-blind)
#397BDC
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7fde;
/* rgb */ color: rgb(74, 127, 222);
/* oklch */ color: oklch(60.7% 0.155 261.1);
Tailwind
colors: {
  custom: {
    50: '#8ba3e9',
    500: '#4a7fde',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fde;
$custom-light: #8ba3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fde",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 218.514,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.15534,
    "h": 261.1
  },
  "luminance": 0.21909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A7FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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