#4A5FC8#4A5FC8

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

Color values

HEX#4A5FC8
RGBrgb(74, 95, 200)
HSLhsl(230, 53%, 54%)
HSVhsv(230, 63%, 78%)
CMYKcmyk(63%, 52.5%, 0%, 21.6%)
CIE-LABlab(43.96, 25.13, -57.23)
CIE-LCHlch(43.96, 62.51, 293.71°)
OKLaboklab(52.64% 0.0034 -0.1642)
OKLCHoklch(52.64% 0.164 271.2)
XYZxyz(17.3381, 13.8089, 56.3841)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FC8 #C8B34A
analogous
#4A9EC8 #4A5FC8 #744AC8
triadic
#4A5FC8 #C84A5F #5FC84A
tetradic
#4A5FC8 #C84A9E #C8B34A #4AC874
square
#4A5FC8 #C84A9E #C8B34A #4AC874
split-complementary
#4A5FC8 #C8744A #9EC84A
monochromatic
#233174 #3245A3 #4A5FC8 #7988D6 #A8B2E5

Accessibility & contrast

On white

5.58
#4A5FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4A5FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FC8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FC8#FFFFFF#000000##FFFFFF
##4A5FC81.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a5fc8;
/* rgb */ color: rgb(74, 95, 200);
/* oklch */ color: oklch(52.6% 0.164 271.2);
Tailwind
colors: {
  custom: {
    50: '#898cd9',
    500: '#4a5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fc8;
$custom-light: #898cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fc8",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 230,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.16421,
    "h": 271.2
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#4A5FC8
secondary
#D2C99C
accent
#C44BDD
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4A5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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