#4F4FBA#4F4FBA

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

Color values

HEX#4F4FBA
RGBrgb(79, 79, 186)
HSLhsl(240, 44%, 52%)
HSVhsv(240, 58%, 73%)
CMYKcmyk(57.5%, 57.5%, 0%, 27.1%)
CIE-LABlab(39.24, 31.38, -56.71)
CIE-LCHlch(39.24, 64.81, 298.96°)
OKLaboklab(48.88% 0.0241 -0.1627)
OKLCHoklch(48.88% 0.164 278.4)
XYZxyz(14.8805, 10.7984, 47.7450)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FBA #BABA4F
analogous
#4F85BA #4F4FBA #854FBA
triadic
#4F4FBA #BA4F4F #4FBA4F
tetradic
#4F4FBA #BA4F85 #BABA4F #4FBA85
square
#4F4FBA #BA4F85 #BABA4F #4FBA85
split-complementary
#4F4FBA #BA854F #85BA4F
monochromatic
#282866 #393992 #4F4FBA #7B7BCB #A7A7DC

Accessibility & contrast

On white

6.65
#4F4FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4F4FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FBA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FBA#FFFFFF#000000##FFFFFF
##4F4FBA1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#0E687D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f4fba;
/* rgb */ color: rgb(79, 79, 186);
/* oklch */ color: oklch(48.9% 0.164 278.4);
Tailwind
colors: {
  custom: {
    50: '#8a80cf',
    500: '#4f4fba',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fba;
$custom-light: #8a80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fba",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 240,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48883,
    "c": 0.16444,
    "h": 278.4
  },
  "luminance": 0.10799
}

Semantic roles & 50–950 ramp

primary
#4F4FBA
secondary
#CACA9B
accent
#D354D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4F4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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