#4B4FEA#4B4FEA

#4B4FEA is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.227 H 274.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4B4FEA
RGBrgb(75, 79, 234)
HSLhsl(238, 79%, 61%)
HSVhsv(238, 68%, 92%)
CMYKcmyk(67.9%, 66.2%, 0%, 8.2%)
CIE-LABlab(42.80, 46.61, -78.53)
CIE-LCHlch(42.80, 91.32, 300.69°)
OKLaboklab(52.62% 0.0167 -0.2268)
OKLCHoklch(52.62% 0.227 274.2)
XYZxyz(20.5440, 13.0264, 79.2576)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B4FEA #EAE64B
analogous
#4B9EEA #4B4FEA #974BEA
triadic
#4B4FEA #EA4B4F #4FEA4B
tetradic
#4B4FEA #EA4B9E #EAE64B #4BEA97
square
#4B4FEA #EA4B9E #EAE64B #4BEA97
split-complementary
#4B4FEA #EA974B #9EEA4B
monochromatic
#1317A7 #1A1FDE #4B4FEA #8285F0 #B9BAF7

Accessibility & contrast

On white

5.82
#4B4FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4B4FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B4FEA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B4FEA#FFFFFF#000000##FFFFFF
##4B4FEA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b4fea;
/* rgb */ color: rgb(75, 79, 234);
/* oklch */ color: oklch(52.6% 0.227 274.2);
Tailwind
colors: {
  custom: {
    50: '#9181f2',
    500: '#4b4fea',
    950: '#000000',
  },
}
SCSS
$custom: #4b4fea;
$custom-light: #9181f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b4fea",
  "rgb": {
    "r": 75,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 238.491,
    "s": 79.104,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52617,
    "c": 0.22744,
    "h": 274.2
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#4B4FEA
secondary
#E7E5AA
accent
#D60ADB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4B4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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