#4B7BC5#4B7BC5

#4B7BC5 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.4% C 0.126 H 258.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4B7BC5
RGBrgb(75, 123, 197)
HSLhsl(216, 51%, 53%)
HSVhsv(216, 62%, 77%)
CMYKcmyk(61.9%, 37.6%, 0%, 22.7%)
CIE-LABlab(51.49, 6.80, -43.46)
CIE-LCHlch(51.49, 43.99, 278.89°)
OKLaboklab(58.37% -0.0245 -0.1234)
OKLCHoklch(58.37% 0.126 258.8)
XYZxyz(20.0591, 19.6912, 55.5562)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7BC5 #C5954B
analogous
#4BB8C5 #4B7BC5 #584BC5
triadic
#4B7BC5 #C54B7B #7BC54B
tetradic
#4B7BC5 #C54BB8 #C5954B #4BC558
square
#4B7BC5 #C54BB8 #C5954B #4BC558
split-complementary
#4B7BC5 #C5584B #B8C54B
monochromatic
#244371 #335E9F #4B7BC5 #799DD4 #A8BFE3

Accessibility & contrast

On white

4.25
#4B7BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4B7BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7BC5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7BC5#FFFFFF#000000##000000
##4B7BC51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C8
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4b7bc5;
/* rgb */ color: rgb(75, 123, 197);
/* oklch */ color: oklch(58.4% 0.126 258.8);
Tailwind
colors: {
  custom: {
    50: '#88a0d7',
    500: '#4b7bc5',
    950: '#000000',
  },
}
SCSS
$custom: #4b7bc5;
$custom-light: #88a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7bc5",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 216.393,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.12577,
    "h": 258.8
  },
  "luminance": 0.19693
}

Semantic roles & 50–950 ramp

primary
#4B7BC5
secondary
#D0BB9C
accent
#A34DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4B7BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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