#4A5FBF#4A5FBF

#4A5FBF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.0% C 0.152 H 271.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4A5FBF
RGBrgb(74, 95, 191)
HSLhsl(229, 48%, 52%)
HSVhsv(229, 61%, 75%)
CMYKcmyk(61.3%, 50.3%, 0%, 25.1%)
CIE-LABlab(43.36, 22.02, -52.98)
CIE-LCHlch(43.36, 57.38, 292.57°)
OKLaboklab(52% 0.0026 -0.1517)
OKLCHoklch(52% 0.152 271)
XYZxyz(16.3171, 13.4005, 51.0068)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FBF #BFAA4A
analogous
#4A99BF #4A5FBF #704ABF
triadic
#4A5FBF #BF4A5F #5FBF4A
tetradic
#4A5FBF #BF4A99 #BFAA4A #4ABF70
square
#4A5FBF #BF4A99 #BFAA4A #4ABF70
split-complementary
#4A5FBF #BF704A #99BF4A
monochromatic
#253169 #354797 #4A5FBF #7787CF #A4AFDF

Accessibility & contrast

On white

5.71
#4A5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4A5FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FBF
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FBF#FFFFFF#000000##FFFFFF
##4A5FBF1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC2
Deuteranopia (green-blind)
#0F62BD
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a5fbf;
/* rgb */ color: rgb(74, 95, 191);
/* oklch */ color: oklch(52.0% 0.152 271.0);
Tailwind
colors: {
  custom: {
    50: '#878cd3',
    500: '#4a5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fbf;
$custom-light: #878cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fbf",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 229.231,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.1517,
    "h": 271
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#4A5FBF
secondary
#CCC399
accent
#BF50D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4A5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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