#4A5FC7#4A5FC7

#4A5FC7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.163 H 271.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#4A5FC7
RGBrgb(74, 95, 199)
HSLhsl(230, 53%, 54%)
HSVhsv(230, 63%, 78%)
CMYKcmyk(62.8%, 52.3%, 0%, 22%)
CIE-LABlab(43.89, 24.78, -56.76)
CIE-LCHlch(43.89, 61.94, 293.59°)
OKLaboklab(52.57% 0.0033 -0.1628)
OKLCHoklch(52.57% 0.163 271.2)
XYZxyz(17.2216, 13.7623, 55.7706)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FC7 #C7B24A
analogous
#4A9DC7 #4A5FC7 #734AC7
triadic
#4A5FC7 #C74A5F #5FC74A
tetradic
#4A5FC7 #C74A9D #C7B24A #4AC773
square
#4A5FC7 #C74A9D #C7B24A #4AC773
split-complementary
#4A5FC7 #C7734A #9DC74A
monochromatic
#243173 #3245A2 #4A5FC7 #7988D5 #A7B2E4

Accessibility & contrast

On white

5.60
#4A5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4A5FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FC7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FC7#FFFFFF#000000##FFFFFF
##4A5FC71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6ECB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a5fc7;
/* rgb */ color: rgb(74, 95, 199);
/* oklch */ color: oklch(52.6% 0.163 271.2);
Tailwind
colors: {
  custom: {
    50: '#898cd9',
    500: '#4a5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fc7;
$custom-light: #898cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fc7",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 229.92,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.16283,
    "h": 271.2
  },
  "luminance": 0.13764
}

Semantic roles & 50–950 ramp

primary
#4A5FC7
secondary
#D1C89C
accent
#C44CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4A5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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