#4B7FE4#4B7FE4

#4B7FE4 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.1% C 0.163 H 262.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4B7FE4
RGBrgb(75, 127, 228)
HSLhsl(220, 74%, 59%)
HSVhsv(220, 67%, 89%)
CMYKcmyk(67.1%, 44.3%, 0%, 10.6%)
CIE-LABlab(54.32, 15.08, -56.48)
CIE-LCHlch(54.32, 58.46, 284.95°)
OKLaboklab(61.11% -0.0222 -0.1615)
OKLCHoklch(61.11% 0.163 262.2)
XYZxyz(24.4897, 22.2736, 76.3924)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7FE4 #E4B04B
analogous
#4BCBE4 #4B7FE4 #644BE4
triadic
#4B7FE4 #E44B7F #7FE44B
tetradic
#4B7FE4 #E44BCB #E4B04B #4BE464
square
#4B7FE4 #E44BCB #E4B04B #4BE464
split-complementary
#4B7FE4 #E4644B #CBE44B
monochromatic
#18459D #205CD2 #4B7FE4 #80A5EC #B5CBF4

Accessibility & contrast

On white

3.85
#4B7FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4B7FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7FE4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7FE4#FFFFFF#000000##000000
##4B7FE41.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E8
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4b7fe4;
/* rgb */ color: rgb(75, 127, 228);
/* oklch */ color: oklch(61.1% 0.163 262.2);
Tailwind
colors: {
  custom: {
    50: '#8da3ed',
    500: '#4b7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #4b7fe4;
$custom-light: #8da3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7fe4",
  "rgb": {
    "r": 75,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 219.608,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61111,
    "c": 0.16301,
    "h": 262.2
  },
  "luminance": 0.22276
}

Semantic roles & 50–950 ramp

primary
#4B7FE4
secondary
#E3CFA8
accent
#B237F1
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4B7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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