#4B5FC6#4B5FC6

#4B5FC6 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.161 H 271.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4B5FC6
RGBrgb(75, 95, 198)
HSLhsl(230, 52%, 54%)
HSVhsv(230, 62%, 78%)
CMYKcmyk(62.1%, 52%, 0%, 22.4%)
CIE-LABlab(43.88, 24.62, -56.20)
CIE-LCHlch(43.88, 61.35, 293.65°)
OKLaboklab(52.55% 0.0043 -0.1611)
OKLCHoklch(52.55% 0.161 271.5)
XYZxyz(17.1835, 13.7560, 55.1648)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FC6 #C6B24B
analogous
#4B9CC6 #4B5FC6 #744BC6
triadic
#4B5FC6 #C64B5F #5FC64B
tetradic
#4B5FC6 #C64B9C #C6B24B #4BC674
square
#4B5FC6 #C64B9C #C6B24B #4BC674
split-complementary
#4B5FC6 #C6744B #9CC64B
monochromatic
#243172 #3345A1 #4B5FC6 #7988D5 #A8B2E3

Accessibility & contrast

On white

5.60
#4B5FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4B5FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FC6
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FC6#FFFFFF#000000##FFFFFF
##4B5FC61.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216DCA
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b5fc6;
/* rgb */ color: rgb(75, 95, 198);
/* oklch */ color: oklch(52.6% 0.161 271.5);
Tailwind
colors: {
  custom: {
    50: '#898cd8',
    500: '#4b5fc6',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fc6;
$custom-light: #898cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fc6",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 230.244,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.16117,
    "h": 271.5
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#4B5FC6
secondary
#D1C89C
accent
#C44CDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4B5FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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