#4B7DC7#4B7DC7

#4B7DC7 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 58.9% C 0.126 H 258.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4B7DC7
RGBrgb(75, 125, 199)
HSLhsl(216, 53%, 54%)
HSVhsv(216, 62%, 78%)
CMYKcmyk(62.3%, 37.2%, 0%, 22%)
CIE-LABlab(52.16, 6.27, -43.54)
CIE-LCHlch(52.16, 43.99, 278.19°)
OKLaboklab(58.92% -0.0261 -0.1236)
OKLCHoklch(58.92% 0.126 258.1)
XYZxyz(20.5404, 20.2847, 56.8546)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7DC7 #C7954B
analogous
#4BBBC7 #4B7DC7 #574BC7
triadic
#4B7DC7 #C74B7D #7DC74B
tetradic
#4B7DC7 #C74BBB #C7954B #4BC757
square
#4B7DC7 #C74BBB #C7954B #4BC757
split-complementary
#4B7DC7 #C7574B #BBC74B
monochromatic
#244474 #3260A2 #4B7DC7 #7A9FD6 #A8C0E4

Accessibility & contrast

On white

4.15
#4B7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4B7DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B7DC7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7DC7#FFFFFF#000000##000000
##4B7DC71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#4C77C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4b7dc7;
/* rgb */ color: rgb(75, 125, 199);
/* oklch */ color: oklch(58.9% 0.126 258.1);
Tailwind
colors: {
  custom: {
    50: '#88a2d8',
    500: '#4b7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #4b7dc7;
$custom-light: #88a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7dc7",
  "rgb": {
    "r": 75,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 215.806,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58921,
    "c": 0.1263,
    "h": 258.1
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#4B7DC7
secondary
#D1BC9C
accent
#A24CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4B7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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