#4F4FBB#4F4FBB

#4F4FBB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.166 H 278.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4F4FBB
RGBrgb(79, 79, 187)
HSLhsl(240, 44%, 52%)
HSVhsv(240, 58%, 73%)
CMYKcmyk(57.8%, 57.8%, 0%, 26.7%)
CIE-LABlab(39.31, 31.71, -57.17)
CIE-LCHlch(39.31, 65.38, 299.02°)
OKLaboklab(48.96% 0.0241 -0.164)
OKLCHoklch(48.96% 0.166 278.4)
XYZxyz(14.9872, 10.8410, 48.3068)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FBB #BBBB4F
analogous
#4F85BB #4F4FBB #854FBB
triadic
#4F4FBB #BB4F4F #4FBB4F
tetradic
#4F4FBB #BB4F85 #BBBB4F #4FBB85
square
#4F4FBB #BB4F85 #BBBB4F #4FBB85
split-complementary
#4F4FBB #BB854F #85BB4F
monochromatic
#282868 #393994 #4F4FBB #7B7BCC #A7A7DD

Accessibility & contrast

On white

6.63
#4F4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4F4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FBB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FBB#FFFFFF#000000##FFFFFF
##4F4FBB1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#0B697D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f4fbb;
/* rgb */ color: rgb(79, 79, 187);
/* oklch */ color: oklch(49.0% 0.166 278.4);
Tailwind
colors: {
  custom: {
    50: '#8a80d0',
    500: '#4f4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fbb;
$custom-light: #8a80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fbb",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4896,
    "c": 0.16581,
    "h": 278.4
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

primary
#4F4FBB
secondary
#CACA9B
accent
#D454D4
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #4F4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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