#4A7EC9#4A7EC9

#4A7EC9 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.2% C 0.128 H 257.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A7EC9
RGBrgb(74, 126, 201)
HSLhsl(215, 54%, 54%)
HSVhsv(215, 63%, 79%)
CMYKcmyk(63.2%, 37.3%, 0%, 21.2%)
CIE-LABlab(52.50, 6.16, -44.14)
CIE-LCHlch(52.50, 44.57, 277.95°)
OKLaboklab(59.21% -0.0275 -0.1253)
OKLCHoklch(59.21% 0.128 257.6)
XYZxyz(20.8237, 20.5926, 58.1244)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EC9 #C9954A
analogous
#4ABEC9 #4A7EC9 #564AC9
triadic
#4A7EC9 #C94A7E #7EC94A
tetradic
#4A7EC9 #C94ABE #C9954A #4AC956
square
#4A7EC9 #C94ABE #C9954A #4AC956
split-complementary
#4A7EC9 #C9564A #BEC94A
monochromatic
#234576 #3160A5 #4A7EC9 #79A0D7 #A8C1E5

Accessibility & contrast

On white

4.10
#4A7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4A7EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EC9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EC9#FFFFFF#000000##000000
##4A7EC91.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a7ec9;
/* rgb */ color: rgb(74, 126, 201);
/* oklch */ color: oklch(59.2% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#88a3da',
    500: '#4a7ec9',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ec9;
$custom-light: #88a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ec9",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 215.433,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5921,
    "c": 0.1283,
    "h": 257.6
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#4A7EC9
secondary
#D2BC9C
accent
#A14ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #4A7EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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