#4F6AEB#4F6AEB

#4F6AEB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.6% C 0.196 H 270.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4F6AEB
RGBrgb(79, 106, 235)
HSLhsl(230, 80%, 62%)
HSVhsv(230, 66%, 92%)
CMYKcmyk(66.4%, 54.9%, 0%, 7.8%)
CIE-LABlab(49.46, 31.10, -68.23)
CIE-LCHlch(49.46, 74.98, 294.50°)
OKLaboklab(57.61% 0.0006 -0.1963)
OKLCHoklch(57.61% 0.196 270.2)
XYZxyz(23.3688, 17.9663, 80.8175)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6AEB #EBD04F
analogous
#4FB8EB #4F6AEB #824FEB
triadic
#4F6AEB #EB4F6A #6AEB4F
tetradic
#4F6AEB #EB4FB8 #EBD04F #4FEB82
square
#4F6AEB #EB4FB8 #EBD04F #4FEB82
split-complementary
#4F6AEB #EB824F #B8EB4F
monochromatic
#142EAC #1A3DE3 #4F6AEB #8699F1 #BDC7F7

Accessibility & contrast

On white

4.57
#4F6AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4F6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F6AEB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6AEB#FFFFFF#000000##000000
##4F6AEB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f6aeb;
/* rgb */ color: rgb(79, 106, 235);
/* oklch */ color: oklch(57.6% 0.196 270.2);
Tailwind
colors: {
  custom: {
    50: '#9194f2',
    500: '#4f6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #4f6aeb;
$custom-light: #9194f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6aeb",
  "rgb": {
    "r": 79,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 229.615,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57611,
    "c": 0.19629,
    "h": 270.2
  },
  "luminance": 0.17968
}

Semantic roles & 50–950 ramp

primary
#4F6AEB
secondary
#E8DEAE
accent
#B70ADC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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