#4F4BBE#4F4BBE

#4F4BBE is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.5% C 0.175 H 279.2°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4F4BBE
RGBrgb(79, 75, 190)
HSLhsl(242, 47%, 52%)
HSVhsv(242, 61%, 75%)
CMYKcmyk(58.4%, 60.5%, 0%, 25.5%)
CIE-LABlab(38.57, 35.18, -60.13)
CIE-LCHlch(38.57, 69.67, 300.33°)
OKLaboklab(48.48% 0.0279 -0.1728)
OKLCHoklch(48.48% 0.175 279.2)
XYZxyz(15.0318, 10.4111, 49.9226)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BBE #BABE4B
analogous
#4B81BE #4F4BBE #894BBE
triadic
#4F4BBE #BE4F4B #4BBE4F
tetradic
#4F4BBE #BE4B81 #BABE4B #4BBE89
square
#4F4BBE #BE4B81 #BABE4B #4BBE89
split-complementary
#4F4BBE #BE894B #81BE4B
monochromatic
#282669 #393696 #4F4BBE #7B78CE #A7A5DE

Accessibility & contrast

On white

6.81
#4F4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4F4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4BBE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4BBE#FFFFFF#000000##FFFFFF
##4F4BBE1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#02677D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f4bbe;
/* rgb */ color: rgb(79, 75, 190);
/* oklch */ color: oklch(48.5% 0.175 279.2);
Tailwind
colors: {
  custom: {
    50: '#8b7dd2',
    500: '#4f4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #4f4bbe;
$custom-light: #8b7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4bbe",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 242.087,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.17502,
    "h": 279.2
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

primary
#4F4BBE
secondary
#CACC99
accent
#D751D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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