#4A4FBF#4A4FBF

#4A4FBF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.172 H 276.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4A4FBF
RGBrgb(74, 79, 191)
HSLhsl(237, 48%, 52%)
HSVhsv(237, 61%, 75%)
CMYKcmyk(61.3%, 58.6%, 0%, 25.1%)
CIE-LABlab(39.26, 32.16, -59.62)
CIE-LCHlch(39.26, 67.74, 298.34°)
OKLaboklab(48.92% 0.0181 -0.1714)
OKLCHoklch(48.92% 0.172 276)
XYZxyz(15.0209, 10.8082, 50.5747)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FBF #BFBA4A
analogous
#4A8ABF #4A4FBF #804ABF
triadic
#4A4FBF #BF4A4F #4FBF4A
tetradic
#4A4FBF #BF4A8A #BFBA4A #4ABF80
square
#4A4FBF #BF4A8A #BFBA4A #4ABF80
split-complementary
#4A4FBF #BF804A #8ABF4A
monochromatic
#252869 #353997 #4A4FBF #777BCF #A4A7DF

Accessibility & contrast

On white

6.64
#4A4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4A4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FBF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FBF#FFFFFF#000000##FFFFFF
##4A4FBF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a4fbf;
/* rgb */ color: rgb(74, 79, 191);
/* oklch */ color: oklch(48.9% 0.172 276.0);
Tailwind
colors: {
  custom: {
    50: '#8880d3',
    500: '#4a4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fbf;
$custom-light: #8880d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fbf",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 237.436,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48921,
    "c": 0.17234,
    "h": 276
  },
  "luminance": 0.10809
}

Semantic roles & 50–950 ramp

primary
#4A4FBF
secondary
#CCCA99
accent
#D250D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4A4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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