#4B5FAC#4B5FAC

#4B5FAC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.124 H 270.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4B5FAC
RGBrgb(75, 95, 172)
HSLhsl(228, 39%, 48%)
HSVhsv(228, 56%, 67%)
CMYKcmyk(56.4%, 44.8%, 0%, 32.5%)
CIE-LABlab(42.24, 15.73, -43.66)
CIE-LCHlch(42.24, 46.41, 289.82°)
OKLaboklab(50.78% 0.0011 -0.1242)
OKLCHoklch(50.78% 0.124 270.5)
XYZxyz(14.4378, 12.6578, 40.7041)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FAC #AC984B
analogous
#4B8FAC #4B5FAC #674BAC
triadic
#4B5FAC #AC4B5F #5FAC4B
tetradic
#4B5FAC #AC4B8F #AC984B #4BAC67
square
#4B5FAC #AC4B8F #AC984B #4BAC67
split-complementary
#4B5FAC #AC674B #8FAC4B
monochromatic
#263057 #384781 #4B5FAC #7283C2 #9DA8D4

Accessibility & contrast

On white

5.95
#4B5FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4B5FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FAC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FAC#FFFFFF#000000##FFFFFF
##4B5FAC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#3160AA
Tritanopia (blue-blind)
#11707D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b5fac;
/* rgb */ color: rgb(75, 95, 172);
/* oklch */ color: oklch(50.8% 0.124 270.5);
Tailwind
colors: {
  custom: {
    50: '#858cc5',
    500: '#4b5fac',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fac;
$custom-light: #858cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fac",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 227.629,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50784,
    "c": 0.12425,
    "h": 270.5
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#4B5FAC
secondary
#C1B792
accent
#B759CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82

Preview Lab

Preview with #4B5FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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