#4A4FB8#4A4FB8

#4A4FB8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.4% C 0.163 H 276.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4A4FB8
RGBrgb(74, 79, 184)
HSLhsl(237, 44%, 51%)
HSVhsv(237, 60%, 72%)
CMYKcmyk(59.8%, 57.1%, 0%, 27.8%)
CIE-LABlab(38.74, 29.80, -56.36)
CIE-LCHlch(38.74, 63.75, 297.87°)
OKLaboklab(48.37% 0.0181 -0.1618)
OKLCHoklch(48.37% 0.163 276.4)
XYZxyz(14.2690, 10.5074, 46.6143)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FB8 #B8B34A
analogous
#4A86B8 #4A4FB8 #7C4AB8
triadic
#4A4FB8 #B84A4F #4FB84A
tetradic
#4A4FB8 #B84A86 #B8B34A #4AB87C
square
#4A4FB8 #B84A86 #B8B34A #4AB87C
split-complementary
#4A4FB8 #B87C4A #86B84A
monochromatic
#262961 #373B8D #4A4FB8 #767AC9 #A2A4DA

Accessibility & contrast

On white

6.77
#4A4FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4A4FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FB8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FB8#FFFFFF#000000##FFFFFF
##4A4FB81.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4a4fb8;
/* rgb */ color: rgb(74, 79, 184);
/* oklch */ color: oklch(48.4% 0.163 276.4);
Tailwind
colors: {
  custom: {
    50: '#8780ce',
    500: '#4a4fb8',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fb8;
$custom-light: #8780ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fb8",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 237.273,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48374,
    "c": 0.1628,
    "h": 276.4
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#4A4FB8
secondary
#C7C596
accent
#CE54D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4A4FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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