#4A5FBE#4A5FBE

#4A5FBE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.150 H 270.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4A5FBE
RGBrgb(74, 95, 190)
HSLhsl(229, 47%, 52%)
HSVhsv(229, 61%, 75%)
CMYKcmyk(61.1%, 50%, 0%, 25.5%)
CIE-LABlab(43.30, 21.68, -52.51)
CIE-LCHlch(43.30, 56.81, 292.44°)
OKLaboklab(51.93% 0.0025 -0.1503)
OKLCHoklch(51.93% 0.15 270.9)
XYZxyz(16.2074, 13.3566, 50.4292)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FBE #BEA94A
analogous
#4A99BE #4A5FBE #6F4ABE
triadic
#4A5FBE #BE4A5F #5FBE4A
tetradic
#4A5FBE #BE4A99 #BEA94A #4ABE6F
square
#4A5FBE #BE4A99 #BEA94A #4ABE6F
split-complementary
#4A5FBE #BE6F4A #99BE4A
monochromatic
#253268 #364795 #4A5FBE #7787CE #A4AFDE

Accessibility & contrast

On white

5.72
#4A5FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4A5FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FBE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FBE#FFFFFF#000000##FFFFFF
##4A5FBE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC1
Deuteranopia (green-blind)
#1261BC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a5fbe;
/* rgb */ color: rgb(74, 95, 190);
/* oklch */ color: oklch(51.9% 0.150 270.9);
Tailwind
colors: {
  custom: {
    50: '#878cd2',
    500: '#4a5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fbe;
$custom-light: #878cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fbe",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 229.138,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.1503,
    "h": 270.9
  },
  "luminance": 0.13358
}

Semantic roles & 50–950 ramp

primary
#4A5FBE
secondary
#CBC298
accent
#BF51D7
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4A5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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