#4F4BB8#4F4BB8

#4F4BB8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.167 H 279.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4F4BB8
RGBrgb(79, 75, 184)
HSLhsl(242, 43%, 51%)
HSVhsv(242, 59%, 72%)
CMYKcmyk(57.1%, 59.2%, 0%, 27.8%)
CIE-LABlab(38.12, 33.22, -57.35)
CIE-LCHlch(38.12, 66.28, 300.08°)
OKLaboklab(48.01% 0.0281 -0.1646)
OKLCHoklch(48.01% 0.167 279.7)
XYZxyz(14.3895, 10.1541, 46.5398)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BB8 #B4B84B
analogous
#4B7DB8 #4F4BB8 #854BB8
triadic
#4F4BB8 #B84F4B #4BB84F
tetradic
#4F4BB8 #B84B7D #B4B84B #4BB885
square
#4F4BB8 #B84B7D #B4B84B #4BB885
split-complementary
#4F4BB8 #B8854B #7DB84B
monochromatic
#292762 #3B388E #4F4BB8 #7A77C9 #A5A3DB

Accessibility & contrast

On white

6.93
#4F4BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4F4BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4BB8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4BB8#FFFFFF#000000##FFFFFF
##4F4BB81.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#14657A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f4bb8;
/* rgb */ color: rgb(79, 75, 184);
/* oklch */ color: oklch(48.0% 0.167 279.7);
Tailwind
colors: {
  custom: {
    50: '#8a7dce',
    500: '#4f4bb8',
    950: '#000000',
  },
}
SCSS
$custom: #4f4bb8;
$custom-light: #8a7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4bb8",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 242.202,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48007,
    "c": 0.16697,
    "h": 279.7
  },
  "luminance": 0.10155
}

Semantic roles & 50–950 ramp

primary
#4F4BB8
secondary
#C6C897
accent
#D355CF
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0914
muted
#7D7B82

Preview Lab

Preview with #4F4BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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