#4B7FCC#4B7FCC

#4B7FCC is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.6% C 0.131 H 258.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4B7FCC
RGBrgb(75, 127, 204)
HSLhsl(216, 56%, 55%)
HSVhsv(216, 63%, 80%)
CMYKcmyk(63.2%, 37.7%, 0%, 20%)
CIE-LABlab(52.98, 6.77, -45.07)
CIE-LCHlch(52.98, 45.58, 278.54°)
OKLaboklab(59.65% -0.027 -0.128)
OKLCHoklch(59.65% 0.131 258.1)
XYZxyz(21.3862, 21.0322, 60.0476)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7FCC #CC984B
analogous
#4BBFCC #4B7FCC #584BCC
triadic
#4B7FCC #CC4B7F #7FCC4B
tetradic
#4B7FCC #CC4BBF #CC984B #4BCC58
square
#4B7FCC #CC4BBF #CC984B #4BCC58
split-complementary
#4B7FCC #CC584B #BFCC4B
monochromatic
#23467A #3061AA #4B7FCC #7BA1DA #AAC3E7

Accessibility & contrast

On white

4.03
#4B7FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#4B7FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7FCC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7FCC#FFFFFF#000000##000000
##4B7FCC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CF
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4b7fcc;
/* rgb */ color: rgb(75, 127, 204);
/* oklch */ color: oklch(59.6% 0.131 258.1);
Tailwind
colors: {
  custom: {
    50: '#89a3dc',
    500: '#4b7fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4b7fcc;
$custom-light: #89a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7fcc",
  "rgb": {
    "r": 75,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 215.814,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59649,
    "c": 0.13085,
    "h": 258.1
  },
  "luminance": 0.21034
}

Semantic roles & 50–950 ramp

primary
#4B7FCC
secondary
#D5BF9E
accent
#A249DF
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4B7FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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