#4A4FBC#4A4FBC

#4A4FBC is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.168 H 276.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4A4FBC
RGBrgb(74, 79, 188)
HSLhsl(237, 46%, 51%)
HSVhsv(237, 61%, 74%)
CMYKcmyk(60.6%, 58%, 0%, 26.3%)
CIE-LABlab(39.03, 31.15, -58.23)
CIE-LCHlch(39.03, 66.04, 298.14°)
OKLaboklab(48.69% 0.0181 -0.1673)
OKLCHoklch(48.69% 0.168 276.2)
XYZxyz(14.6942, 10.6775, 48.8538)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FBC #BCB74A
analogous
#4A88BC #4A4FBC #7E4ABC
triadic
#4A4FBC #BC4A4F #4FBC4A
tetradic
#4A4FBC #BC4A88 #BCB74A #4ABC7E
square
#4A4FBC #BC4A88 #BCB74A #4ABC7E
split-complementary
#4A4FBC #BC7E4A #88BC4A
monochromatic
#262966 #363A93 #4A4FBC #777ACD #A3A6DD

Accessibility & contrast

On white

6.70
#4A4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4A4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FBC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FBC#FFFFFF#000000##FFFFFF
##4A4FBC1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a4fbc;
/* rgb */ color: rgb(74, 79, 188);
/* oklch */ color: oklch(48.7% 0.168 276.2);
Tailwind
colors: {
  custom: {
    50: '#8880d1',
    500: '#4a4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fbc;
$custom-light: #8880d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fbc",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 237.368,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48685,
    "c": 0.16827,
    "h": 276.2
  },
  "luminance": 0.10679
}

Semantic roles & 50–950 ramp

primary
#4A4FBC
secondary
#CAC898
accent
#D052D6
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4A4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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