#4B7BC7#4B7BC7

#4B7BC7 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.5% C 0.128 H 259.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4B7BC7
RGBrgb(75, 123, 199)
HSLhsl(217, 53%, 54%)
HSVhsv(217, 62%, 78%)
CMYKcmyk(62.3%, 38.2%, 0%, 22%)
CIE-LABlab(51.59, 7.48, -44.44)
CIE-LCHlch(51.59, 45.06, 279.56°)
OKLaboklab(58.48% -0.024 -0.1262)
OKLCHoklch(58.48% 0.128 259.2)
XYZxyz(20.2898, 19.7834, 56.7711)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7BC7 #C7974B
analogous
#4BB9C7 #4B7BC7 #594BC7
triadic
#4B7BC7 #C74B7B #7BC74B
tetradic
#4B7BC7 #C74BB9 #C7974B #4BC759
square
#4B7BC7 #C74BB9 #C7974B #4BC759
split-complementary
#4B7BC7 #C7594B #B9C74B
monochromatic
#244374 #325EA2 #4B7BC7 #7A9DD6 #A8BFE4

Accessibility & contrast

On white

4.24
#4B7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4B7BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7BC7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7BC7#FFFFFF#000000##000000
##4B7BC71.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4976C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4b7bc7;
/* rgb */ color: rgb(75, 123, 199);
/* oklch */ color: oklch(58.5% 0.128 259.2);
Tailwind
colors: {
  custom: {
    50: '#88a0d8',
    500: '#4b7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #4b7bc7;
$custom-light: #88a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7bc7",
  "rgb": {
    "r": 75,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 216.774,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.12847,
    "h": 259.2
  },
  "luminance": 0.19785
}

Semantic roles & 50–950 ramp

primary
#4B7BC7
secondary
#D1BD9C
accent
#A44CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4B7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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