#4750C2#4750C2

#4750C2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.176 H 274.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4750C2
RGBrgb(71, 80, 194)
HSLhsl(236, 50%, 52%)
HSVhsv(236, 63%, 76%)
CMYKcmyk(63.4%, 58.8%, 0%, 23.9%)
CIE-LABlab(39.53, 32.05, -60.93)
CIE-LCHlch(39.53, 68.85, 297.74°)
OKLaboklab(49.15% 0.0138 -0.1753)
OKLCHoklch(49.15% 0.176 274.5)
XYZxyz(15.2016, 10.9707, 52.3449)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4750C2 #C2B947
analogous
#478DC2 #4750C2 #7C47C2
triadic
#4750C2 #C24750 #50C247
tetradic
#4750C2 #C2478D #C2B947 #47C27C
square
#4750C2 #C2478D #C2B947 #47C27C
split-complementary
#4750C2 #C27C47 #8DC247
monochromatic
#24296B #333A99 #4750C2 #757CD1 #A3A7E0

Accessibility & contrast

On white

6.57
#4750C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4750C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4750C2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4750C2#FFFFFF#000000##FFFFFF
##4750C21.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4750c2;
/* rgb */ color: rgb(71, 80, 194);
/* oklch */ color: oklch(49.1% 0.176 274.5);
Tailwind
colors: {
  custom: {
    50: '#8781d5',
    500: '#4750c2',
    950: '#000000',
  },
}
SCSS
$custom: #4750c2;
$custom-light: #8781d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4750c2",
  "rgb": {
    "r": 71,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 235.61,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.17585,
    "h": 274.5
  },
  "luminance": 0.10972
}

Semantic roles & 50–950 ramp

primary
#4750C2
secondary
#CDC997
accent
#CF4EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4750C2

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

Preview Lab → · Contrast checker → · Palette generator →

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