#4A7ECA#4A7ECA

#4A7ECA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.3% C 0.130 H 257.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4A7ECA
RGBrgb(74, 126, 202)
HSLhsl(216, 55%, 54%)
HSVhsv(216, 63%, 79%)
CMYKcmyk(63.4%, 37.6%, 0%, 20.8%)
CIE-LABlab(52.55, 6.50, -44.62)
CIE-LCHlch(52.55, 45.09, 278.29°)
OKLaboklab(59.27% -0.0272 -0.1267)
OKLCHoklch(59.27% 0.13 257.9)
XYZxyz(20.9418, 20.6398, 58.7459)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7ECA #CA964A
analogous
#4ABECA #4A7ECA #564ACA
triadic
#4A7ECA #CA4A7E #7ECA4A
tetradic
#4A7ECA #CA4ABE #CA964A #4ACA56
square
#4A7ECA #CA4ABE #CA964A #4ACA56
split-complementary
#4A7ECA #CA564A #BECA4A
monochromatic
#234577 #3160A6 #4A7ECA #79A0D8 #A9C1E6

Accessibility & contrast

On white

4.09
#4A7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4A7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7ECA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7ECA#FFFFFF#000000##000000
##4A7ECA1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a7eca;
/* rgb */ color: rgb(74, 126, 202);
/* oklch */ color: oklch(59.3% 0.130 257.9);
Tailwind
colors: {
  custom: {
    50: '#88a3da',
    500: '#4a7eca',
    950: '#000000',
  },
}
SCSS
$custom: #4a7eca;
$custom-light: #88a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7eca",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 215.625,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.12964,
    "h": 257.9
  },
  "luminance": 0.20642
}

Semantic roles & 50–950 ramp

primary
#4A7ECA
secondary
#D3BD9D
accent
#A24ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #4A7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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