#4A7FDF#4A7FDF

#4A7FDF is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.157 H 261.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4A7FDF
RGBrgb(74, 127, 223)
HSLhsl(219, 70%, 58%)
HSVhsv(219, 67%, 87%)
CMYKcmyk(66.8%, 43%, 0%, 12.5%)
CIE-LABlab(53.98, 13.17, -54.21)
CIE-LCHlch(53.98, 55.79, 283.66°)
OKLaboklab(60.75% -0.0238 -0.1548)
OKLCHoklch(60.75% 0.157 261.2)
XYZxyz(23.7280, 21.9599, 72.7859)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7FDF #DFAA4A
analogous
#4AC9DF #4A7FDF #5F4ADF
triadic
#4A7FDF #DF4A7F #7FDF4A
tetradic
#4A7FDF #DF4AC9 #DFAA4A #4ADF5F
square
#4A7FDF #DF4AC9 #DFAA4A #4ADF5F
split-complementary
#4A7FDF #DF5F4A #C9DF4A
monochromatic
#1A4694 #235EC8 #4A7FDF #7EA4E8 #B2C9F1

Accessibility & contrast

On white

3.89
#4A7FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4A7FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7FDF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7FDF#FFFFFF#000000##000000
##4A7FDF1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E3
Deuteranopia (green-blind)
#387BDD
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7fdf;
/* rgb */ color: rgb(74, 127, 223);
/* oklch */ color: oklch(60.8% 0.157 261.2);
Tailwind
colors: {
  custom: {
    50: '#8ca3e9',
    500: '#4a7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7fdf;
$custom-light: #8ca3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7fdf",
  "rgb": {
    "r": 74,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 218.658,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.15667,
    "h": 261.2
  },
  "luminance": 0.21962
}

Semantic roles & 50–950 ramp

primary
#4A7FDF
secondary
#E0CBA5
accent
#AE3BED
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4A7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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