#4A7BE4#4A7BE4

#4A7BE4 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.2% C 0.168 H 263.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4A7BE4
RGBrgb(74, 123, 228)
HSLhsl(221, 74%, 59%)
HSVhsv(221, 68%, 89%)
CMYKcmyk(67.5%, 46.1%, 0%, 10.6%)
CIE-LABlab(53.19, 17.38, -58.29)
CIE-LCHlch(53.19, 60.82, 286.60°)
OKLaboklab(60.24% -0.0193 -0.1669)
OKLCHoklch(60.24% 0.168 263.4)
XYZxyz(23.9057, 21.2208, 76.2199)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7BE4 #E4B34A
analogous
#4AC8E4 #4A7BE4 #664AE4
triadic
#4A7BE4 #E44A7B #7BE44A
tetradic
#4A7BE4 #E44AC8 #E4B34A #4AE466
square
#4A7BE4 #E44AC8 #E4B34A #4AE466
split-complementary
#4A7BE4 #E4664A #C8E44A
monochromatic
#17429C #1F58D2 #4A7BE4 #7FA2EC #B5C9F4

Accessibility & contrast

On white

4.00
#4A7BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4A7BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7BE4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7BE4#FFFFFF#000000##000000
##4A7BE41.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E8
Deuteranopia (green-blind)
#2578E2
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7be4;
/* rgb */ color: rgb(74, 123, 228);
/* oklch */ color: oklch(60.2% 0.168 263.4);
Tailwind
colors: {
  custom: {
    50: '#8da0ed',
    500: '#4a7be4',
    950: '#000000',
  },
}
SCSS
$custom: #4a7be4;
$custom-light: #8da0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7be4",
  "rgb": {
    "r": 74,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 220.909,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60235,
    "c": 0.168,
    "h": 263.4
  },
  "luminance": 0.21223
}

Semantic roles & 50–950 ramp

primary
#4A7BE4
secondary
#E3D0A7
accent
#B637F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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