#4A4FCA#4A4FCA

#4A4FCA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.8% C 0.187 H 275.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4A4FCA
RGBrgb(74, 79, 202)
HSLhsl(238, 55%, 54%)
HSVhsv(238, 63%, 79%)
CMYKcmyk(63.4%, 60.9%, 0%, 20.8%)
CIE-LABlab(40.10, 35.86, -64.65)
CIE-LCHlch(40.10, 73.92, 299.02°)
OKLaboklab(49.81% 0.0179 -0.1861)
OKLCHoklch(49.81% 0.187 275.5)
XYZxyz(16.2772, 11.3107, 57.1911)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FCA #CAC54A
analogous
#4A8FCA #4A4FCA #854ACA
triadic
#4A4FCA #CA4A4F #4FCA4A
tetradic
#4A4FCA #CA4A8F #CAC54A #4ACA85
square
#4A4FCA #CA4A8F #CAC54A #4ACA85
split-complementary
#4A4FCA #CA854A #8FCA4A
monochromatic
#232677 #3135A6 #4A4FCA #797DD8 #A9ABE6

Accessibility & contrast

On white

6.44
#4A4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4A4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FCA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FCA#FFFFFF#000000##FFFFFF
##4A4FCA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a4fca;
/* rgb */ color: rgb(74, 79, 202);
/* oklch */ color: oklch(49.8% 0.187 275.5);
Tailwind
colors: {
  custom: {
    50: '#8a80db',
    500: '#4a4fca',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fca;
$custom-light: #8a80db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fca",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 237.656,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.18701,
    "h": 275.5
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#4A4FCA
secondary
#D3D19D
accent
#D84ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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