#4750B2#4750B2

#4750B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.154 H 275.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4750B2
RGBrgb(71, 80, 178)
HSLhsl(235, 43%, 49%)
HSVhsv(235, 60%, 70%)
CMYKcmyk(60.1%, 55.1%, 0%, 30.2%)
CIE-LABlab(38.36, 26.58, -53.45)
CIE-LCHlch(38.36, 59.69, 296.44°)
OKLaboklab(47.9% 0.0135 -0.1533)
OKLCHoklch(47.9% 0.154 275)
XYZxyz(13.5005, 10.2902, 43.3856)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4750B2 #B2A947
analogous
#4786B2 #4750B2 #7447B2
triadic
#4750B2 #B24750 #50B247
tetradic
#4750B2 #B24786 #B2A947 #47B274
square
#4750B2 #B24786 #B2A947 #47B274
split-complementary
#4750B2 #B27447 #86B247
monochromatic
#24295B #363C86 #4750B2 #7077C6 #9CA1D7

Accessibility & contrast

On white

6.87
#4750B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4750B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4750B2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4750B2#FFFFFF#000000##FFFFFF
##4750B21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095FB5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4750b2;
/* rgb */ color: rgb(71, 80, 178);
/* oklch */ color: oklch(47.9% 0.154 275.0);
Tailwind
colors: {
  custom: {
    50: '#8481ca',
    500: '#4750b2',
    950: '#000000',
  },
}
SCSS
$custom: #4750b2;
$custom-light: #8481ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4750b2",
  "rgb": {
    "r": 71,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 234.953,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47901,
    "c": 0.15389,
    "h": 275
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#4750B2
secondary
#C4C091
accent
#C855D3
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4750B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4750B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva