#4A7EC8#4A7EC8

#4A7EC8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.2% C 0.127 H 257.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4A7EC8
RGBrgb(74, 126, 200)
HSLhsl(215, 53%, 54%)
HSVhsv(215, 63%, 78%)
CMYKcmyk(63%, 37%, 0%, 21.6%)
CIE-LABlab(52.45, 5.82, -43.65)
CIE-LCHlch(52.45, 44.04, 277.59°)
OKLaboklab(59.15% -0.0277 -0.1239)
OKLCHoklch(59.15% 0.127 257.4)
XYZxyz(20.7065, 20.5457, 57.5069)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EC8 #C8944A
analogous
#4ABDC8 #4A7EC8 #554AC8
triadic
#4A7EC8 #C84A7E #7EC84A
tetradic
#4A7EC8 #C84ABD #C8944A #4AC855
square
#4A7EC8 #C84ABD #C8944A #4AC855
split-complementary
#4A7EC8 #C8554A #BDC84A
monochromatic
#234574 #3260A3 #4A7EC8 #799FD6 #A8C1E5

Accessibility & contrast

On white

4.11
#4A7EC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4A7EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EC8
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EC8#FFFFFF#000000##000000
##4A7EC81.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#4C78C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7ec8;
/* rgb */ color: rgb(74, 126, 200);
/* oklch */ color: oklch(59.2% 0.127 257.4);
Tailwind
colors: {
  custom: {
    50: '#88a3d9',
    500: '#4a7ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ec8;
$custom-light: #88a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ec8",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 215.238,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59152,
    "c": 0.12697,
    "h": 257.4
  },
  "luminance": 0.20548
}

Semantic roles & 50–950 ramp

primary
#4A7EC8
secondary
#D2BC9C
accent
#A14BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4A7EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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