#4B5FC7#4B5FC7

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

Color values

HEX#4B5FC7
RGBrgb(75, 95, 199)
HSLhsl(230, 53%, 54%)
HSVhsv(230, 62%, 78%)
CMYKcmyk(62.3%, 52.3%, 0%, 22%)
CIE-LABlab(43.95, 24.96, -56.67)
CIE-LCHlch(43.95, 61.92, 293.77°)
OKLaboklab(52.63% 0.0044 -0.1625)
OKLCHoklch(52.63% 0.163 271.5)
XYZxyz(17.2992, 13.8023, 55.7742)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FC7 #C7B34B
analogous
#4B9DC7 #4B5FC7 #754BC7
triadic
#4B5FC7 #C74B5F #5FC74B
tetradic
#4B5FC7 #C74B9D #C7B34B #4BC775
square
#4B5FC7 #C74B9D #C7B34B #4BC775
split-complementary
#4B5FC7 #C7754B #9DC74B
monochromatic
#243174 #3245A2 #4B5FC7 #7A88D6 #A8B2E4

Accessibility & contrast

On white

5.58
#4B5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4B5FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FC7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FC7#FFFFFF#000000##FFFFFF
##4B5FC71.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206ECB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b5fc7;
/* rgb */ color: rgb(75, 95, 199);
/* oklch */ color: oklch(52.6% 0.163 271.5);
Tailwind
colors: {
  custom: {
    50: '#898cd9',
    500: '#4b5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fc7;
$custom-light: #898cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fc7",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 230.323,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52626,
    "c": 0.16255,
    "h": 271.5
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#4B5FC7
secondary
#D1C99C
accent
#C54CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4B5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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