#4F4BBA#4F4BBA

#4F4BBA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.170 H 279.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4F4BBA
RGBrgb(79, 75, 186)
HSLhsl(242, 45%, 51%)
HSVhsv(242, 60%, 73%)
CMYKcmyk(57.5%, 59.7%, 0%, 27.1%)
CIE-LABlab(38.27, 33.87, -58.28)
CIE-LCHlch(38.27, 67.41, 300.16°)
OKLaboklab(48.17% 0.0281 -0.1673)
OKLCHoklch(48.17% 0.17 279.5)
XYZxyz(14.6007, 10.2386, 47.6517)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BBA #B6BA4B
analogous
#4B7EBA #4F4BBA #864BBA
triadic
#4F4BBA #BA4F4B #4BBA4F
tetradic
#4F4BBA #BA4B7E #B6BA4B #4BBA86
square
#4F4BBA #BA4B7E #B6BA4B #4BBA86
split-complementary
#4F4BBA #BA864B #7EBA4B
monochromatic
#292664 #3B3790 #4F4BBA #7A77CB #A6A3DC

Accessibility & contrast

On white

6.89
#4F4BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4F4BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4BBA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4BBA#FFFFFF#000000##FFFFFF
##4F4BBA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#10667B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f4bba;
/* rgb */ color: rgb(79, 75, 186);
/* oklch */ color: oklch(48.2% 0.170 279.5);
Tailwind
colors: {
  custom: {
    50: '#8a7dd0',
    500: '#4f4bba',
    950: '#000000',
  },
}
SCSS
$custom: #4f4bba;
$custom-light: #8a7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4bba",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 242.162,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48165,
    "c": 0.16966,
    "h": 279.5
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#4F4BBA
secondary
#C7C998
accent
#D454D0
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4F4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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