#4B5FA4#4B5FA4

#4B5FA4 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.3% C 0.113 H 269.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4B5FA4
RGBrgb(75, 95, 164)
HSLhsl(227, 37%, 47%)
HSVhsv(227, 54%, 64%)
CMYKcmyk(54.3%, 42.1%, 0%, 35.7%)
CIE-LABlab(41.78, 13.05, -39.66)
CIE-LCHlch(41.78, 41.75, 288.21°)
OKLaboklab(50.28% -0.0003 -0.1125)
OKLCHoklch(50.28% 0.113 269.8)
XYZxyz(13.6925, 12.3596, 36.7789)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5FA4 #A4904B
analogous
#4B8CA4 #4B5FA4 #644BA4
triadic
#4B5FA4 #A44B5F #5FA44B
tetradic
#4B5FA4 #A44B8C #A4904B #4BA464
square
#4B5FA4 #A44B8C #A4904B #4BA464
split-complementary
#4B5FA4 #A4644B #8CA44B
monochromatic
#252E50 #38477A #4B5FA4 #6F81BD #99A5D0

Accessibility & contrast

On white

6.05
#4B5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4B5FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5FA4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5FA4#FFFFFF#000000##FFFFFF
##4B5FA41.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A7
Deuteranopia (green-blind)
#385FA2
Tritanopia (blue-blind)
#1E6E79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b5fa4;
/* rgb */ color: rgb(75, 95, 164);
/* oklch */ color: oklch(50.3% 0.113 269.8);
Tailwind
colors: {
  custom: {
    50: '#848cbf',
    500: '#4b5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #4b5fa4;
$custom-light: #848cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5fa4",
  "rgb": {
    "r": 75,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 226.517,
    "s": 37.238,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50281,
    "c": 0.11254,
    "h": 269.8
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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