#4750CA#4750CA

#4750CA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.8% C 0.187 H 274.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4750CA
RGBrgb(71, 80, 202)
HSLhsl(236, 55%, 54%)
HSVhsv(236, 65%, 79%)
CMYKcmyk(64.9%, 60.4%, 0%, 20.8%)
CIE-LABlab(40.15, 34.78, -64.58)
CIE-LCHlch(40.15, 73.35, 298.30°)
OKLaboklab(49.79% 0.0136 -0.186)
OKLCHoklch(49.79% 0.187 274.2)
XYZxyz(16.1243, 11.3398, 57.2047)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4750CA #CAC147
analogous
#4791CA #4750CA #7F47CA
triadic
#4750CA #CA4750 #50CA47
tetradic
#4750CA #CA4791 #CAC147 #47CA7F
square
#4750CA #CA4791 #CAC147 #47CA7F
split-complementary
#4750CA #CA7F47 #91CA47
monochromatic
#222775 #2F37A4 #4750CA #777DD8 #A6AAE5

Accessibility & contrast

On white

6.43
#4750CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4750CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4750CA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4750CA#FFFFFF#000000##FFFFFF
##4750CA1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4750ca;
/* rgb */ color: rgb(71, 80, 202);
/* oklch */ color: oklch(49.8% 0.187 274.2);
Tailwind
colors: {
  custom: {
    50: '#8981db',
    500: '#4750ca',
    950: '#000000',
  },
}
SCSS
$custom: #4750ca;
$custom-light: #8981db;
$custom-dark: #000000;
JSON
{
  "hex": "#4750ca",
  "rgb": {
    "r": 71,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 235.878,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.18652,
    "h": 274.2
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#4750CA
secondary
#D2CF9A
accent
#D449DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4750CA

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

Preview Lab → · Contrast checker → · Palette generator →

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