#4B7FE1#4B7FE1

#4B7FE1 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.159 H 261.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4B7FE1
RGBrgb(75, 127, 225)
HSLhsl(219, 71%, 59%)
HSVhsv(219, 67%, 88%)
CMYKcmyk(66.7%, 43.6%, 0%, 11.8%)
CIE-LABlab(54.14, 14.03, -55.08)
CIE-LCHlch(54.14, 56.84, 284.29°)
OKLaboklab(60.92% -0.0227 -0.1574)
OKLCHoklch(60.92% 0.159 261.8)
XYZxyz(24.0768, 22.1085, 74.2181)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7FE1 #E1AD4B
analogous
#4BCAE1 #4B7FE1 #624BE1
triadic
#4B7FE1 #E14B7F #7FE14B
tetradic
#4B7FE1 #E14BCA #E1AD4B #4BE162
square
#4B7FE1 #E14BCA #E1AD4B #4BE162
split-complementary
#4B7FE1 #E1624B #CAE14B
monochromatic
#194598 #225DCD #4B7FE1 #7FA4EA #B4CAF2

Accessibility & contrast

On white

3.87
#4B7FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4B7FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7FE1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7FE1#FFFFFF#000000##000000
##4B7FE11.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E5
Deuteranopia (green-blind)
#367BDF
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4b7fe1;
/* rgb */ color: rgb(75, 127, 225);
/* oklch */ color: oklch(60.9% 0.159 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ca3eb',
    500: '#4b7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4b7fe1;
$custom-light: #8ca3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7fe1",
  "rgb": {
    "r": 75,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 219.2,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60921,
    "c": 0.15901,
    "h": 261.8
  },
  "luminance": 0.22111
}

Semantic roles & 50–950 ramp

primary
#4B7FE1
secondary
#E1CDA6
accent
#B03AEE
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4B7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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