#4B52C8#4B52C8

#4B52C8 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.180 H 275.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4B52C8
RGBrgb(75, 82, 200)
HSLhsl(237, 53%, 54%)
HSVhsv(237, 63%, 78%)
CMYKcmyk(62.5%, 59%, 0%, 21.6%)
CIE-LABlab(40.73, 33.48, -62.45)
CIE-LCHlch(40.73, 70.86, 298.20°)
OKLaboklab(50.25% 0.0165 -0.1796)
OKLCHoklch(50.25% 0.18 275.2)
XYZxyz(16.3409, 11.6992, 56.0294)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B52C8 #C8C14B
analogous
#4B91C8 #4B52C8 #834BC8
triadic
#4B52C8 #C84B52 #52C84B
tetradic
#4B52C8 #C84B91 #C8C14B #4BC883
square
#4B52C8 #C84B91 #C8C14B #4BC883
split-complementary
#4B52C8 #C8834B #91C84B
monochromatic
#242875 #3238A4 #4B52C8 #7A7FD6 #A9ACE5

Accessibility & contrast

On white

6.29
#4B52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4B52C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B52C8
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B52C8#FFFFFF#000000##FFFFFF
##4B52C81.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4b52c8;
/* rgb */ color: rgb(75, 82, 200);
/* oklch */ color: oklch(50.2% 0.180 275.2);
Tailwind
colors: {
  custom: {
    50: '#8a82da',
    500: '#4b52c8',
    950: '#000000',
  },
}
SCSS
$custom: #4b52c8;
$custom-light: #8a82da;
$custom-dark: #000000;
JSON
{
  "hex": "#4b52c8",
  "rgb": {
    "r": 75,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 236.64,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.1804,
    "h": 275.2
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#4B52C8
secondary
#D2CF9D
accent
#D44BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4B52C8

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

Preview Lab → · Contrast checker → · Palette generator →

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