#4750CF#4750CF

#4750CF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.193 H 274.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4750CF
RGBrgb(71, 80, 207)
HSLhsl(236, 59%, 55%)
HSVhsv(236, 66%, 81%)
CMYKcmyk(65.7%, 61.4%, 0%, 18.8%)
CIE-LABlab(40.54, 36.48, -66.82)
CIE-LCHlch(40.54, 76.13, 298.63°)
OKLaboklab(50.21% 0.0135 -0.1926)
OKLCHoklch(50.21% 0.193 274)
XYZxyz(16.7259, 11.5804, 60.3732)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4750CF #CFC647
analogous
#4794CF #4750CF #8247CF
triadic
#4750CF #CF4750 #50CF47
tetradic
#4750CF #CF4794 #CFC647 #47CF82
square
#4750CF #CF4794 #CFC647 #47CF82
split-complementary
#4750CF #CF8247 #94CF47
monochromatic
#20267B #2D35AC #4750CF #787EDC #A8ACE8

Accessibility & contrast

On white

6.33
#4750CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4750CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4750CF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4750CF#FFFFFF#000000##FFFFFF
##4750CF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4750cf;
/* rgb */ color: rgb(71, 80, 207);
/* oklch */ color: oklch(50.2% 0.193 274.0);
Tailwind
colors: {
  custom: {
    50: '#8a81df',
    500: '#4750cf',
    950: '#000000',
  },
}
SCSS
$custom: #4750cf;
$custom-light: #8a81df;
$custom-dark: #000000;
JSON
{
  "hex": "#4750cf",
  "rgb": {
    "r": 71,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 236.029,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50208,
    "c": 0.19308,
    "h": 274
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#4750CF
secondary
#D6D29C
accent
#D846E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4750CF

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

Preview Lab → · Contrast checker → · Palette generator →

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