#4A4FCB#4A4FCB

#4A4FCB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.188 H 275.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#4A4FCB
RGBrgb(74, 79, 203)
HSLhsl(238, 55%, 54%)
HSVhsv(238, 64%, 80%)
CMYKcmyk(63.5%, 61.1%, 0%, 20.4%)
CIE-LABlab(40.18, 36.19, -65.10)
CIE-LCHlch(40.18, 74.48, 299.07°)
OKLaboklab(49.89% 0.0179 -0.1875)
OKLCHoklch(49.89% 0.188 275.4)
XYZxyz(16.3960, 11.3582, 57.8167)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FCB #CBC64A
analogous
#4A90CB #4A4FCB #854ACB
triadic
#4A4FCB #CB4A4F #4FCB4A
tetradic
#4A4FCB #CB4A90 #CBC64A #4ACB85
square
#4A4FCB #CB4A90 #CBC64A #4ACB85
split-complementary
#4A4FCB #CB854A #90CB4A
monochromatic
#232678 #3035A8 #4A4FCB #7A7DD9 #A9ABE6

Accessibility & contrast

On white

6.42
#4A4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4A4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FCB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FCB#FFFFFF#000000##FFFFFF
##4A4FCB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4a4fcb;
/* rgb */ color: rgb(74, 79, 203);
/* oklch */ color: oklch(49.9% 0.188 275.4);
Tailwind
colors: {
  custom: {
    50: '#8a80dc',
    500: '#4a4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fcb;
$custom-light: #8a80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fcb",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 237.674,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49891,
    "c": 0.18833,
    "h": 275.4
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#4A4FCB
secondary
#D4D29D
accent
#D949DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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