#4B5FA2#4B5FA2

#4B5FA2 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.2% C 0.110 H 269.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4B5FA2
RGBrgb(75, 95, 162)
HSLhsl(226, 37%, 46%)
HSVhsv(226, 54%, 64%)
CMYKcmyk(53.7%, 41.4%, 0%, 36.5%)
CIE-LABlab(41.67, 12.38, -38.65)
CIE-LCHlch(41.67, 40.59, 287.76°)
OKLaboklab(50.16% -0.0007 -0.1096)
OKLCHoklch(50.16% 0.11 269.6)
XYZxyz(13.5133, 12.2880, 35.8351)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FA2 #A28E4B
analogous
#4B8BA2 #4B5FA2 #634BA2
triadic
#4B5FA2 #A24B5F #5FA24B
tetradic
#4B5FA2 #A24B8B #A28E4B #4BA263
square
#4B5FA2 #A24B8B #A28E4B #4BA263
split-complementary
#4B5FA2 #A2634B #8BA24B
monochromatic
#242E4E #384678 #4B5FA2 #6E80BC #98A5CF

Accessibility & contrast

On white

6.07
#4B5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4B5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FA2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FA2#FFFFFF#000000##FFFFFF
##4B5FA21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A5
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#216D78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4b5fa2;
/* rgb */ color: rgb(75, 95, 162);
/* oklch */ color: oklch(50.2% 0.110 269.6);
Tailwind
colors: {
  custom: {
    50: '#838cbe',
    500: '#4b5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fa2;
$custom-light: #838cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fa2",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 226.207,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.10958,
    "h": 269.6
  },
  "luminance": 0.12289
}

Semantic roles & 50–950 ramp

primary
#4B5FA2
secondary
#BCB18D
accent
#B35BCD
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4B5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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