#4A7EDF#4A7EDF

#4A7EDF is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.158 H 261.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4A7EDF
RGBrgb(74, 126, 223)
HSLhsl(219, 70%, 58%)
HSVhsv(219, 67%, 87%)
CMYKcmyk(66.8%, 43.5%, 0%, 12.5%)
CIE-LABlab(53.71, 13.79, -54.65)
CIE-LCHlch(53.71, 56.36, 284.16°)
OKLaboklab(60.54% -0.0229 -0.1561)
OKLCHoklch(60.54% 0.158 261.7)
XYZxyz(23.5995, 21.7029, 72.7431)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EDF #DFAB4A
analogous
#4AC9DF #4A7EDF #604ADF
triadic
#4A7EDF #DF4A7E #7EDF4A
tetradic
#4A7EDF #DF4AC9 #DFAB4A #4ADF60
square
#4A7EDF #DF4AC9 #DFAB4A #4ADF60
split-complementary
#4A7EDF #DF604A #C9DF4A
monochromatic
#1A4594 #235DC8 #4A7EDF #7EA3E8 #B2C8F1

Accessibility & contrast

On white

3.93
#4A7EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4A7EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EDF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EDF#FFFFFF#000000##000000
##4A7EDF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F88E3
Deuteranopia (green-blind)
#367ADD
Tritanopia (blue-blind)
#0094A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4a7edf;
/* rgb */ color: rgb(74, 126, 223);
/* oklch */ color: oklch(60.5% 0.158 261.7);
Tailwind
colors: {
  custom: {
    50: '#8ca2e9',
    500: '#4a7edf',
    950: '#000000',
  },
}
SCSS
$custom: #4a7edf;
$custom-light: #8ca2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7edf",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 219.06,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.15782,
    "h": 261.7
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#4A7EDF
secondary
#E0CBA5
accent
#AF3BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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