#4F6AEA#4F6AEA

#4F6AEA is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.5% C 0.195 H 270.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#4F6AEA
RGBrgb(79, 106, 234)
HSLhsl(230, 79%, 61%)
HSVhsv(230, 66%, 92%)
CMYKcmyk(66.2%, 54.7%, 0%, 8.2%)
CIE-LABlab(49.39, 30.76, -67.78)
CIE-LCHlch(49.39, 74.43, 294.41°)
OKLaboklab(57.54% 0.0006 -0.195)
OKLCHoklch(57.54% 0.195 270.2)
XYZxyz(23.2247, 17.9087, 80.0587)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6AEA #EACF4F
analogous
#4FB8EA #4F6AEA #824FEA
triadic
#4F6AEA #EA4F6A #6AEA4F
tetradic
#4F6AEA #EA4FB8 #EACF4F #4FEA82
square
#4F6AEA #EA4FB8 #EACF4F #4FEA82
split-complementary
#4F6AEA #EA824F #B8EA4F
monochromatic
#142EAA #1B3DE1 #4F6AEA #8698F1 #BCC7F7

Accessibility & contrast

On white

4.58
#4F6AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4F6AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F6AEA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6AEA#FFFFFF#000000##000000
##4F6AEA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f6aea;
/* rgb */ color: rgb(79, 106, 234);
/* oklch */ color: oklch(57.5% 0.195 270.2);
Tailwind
colors: {
  custom: {
    50: '#9194f2',
    500: '#4f6aea',
    950: '#000000',
  },
}
SCSS
$custom: #4f6aea;
$custom-light: #9194f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6aea",
  "rgb": {
    "r": 79,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 229.548,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57536,
    "c": 0.19497,
    "h": 270.2
  },
  "luminance": 0.17911
}

Semantic roles & 50–950 ramp

primary
#4F6AEA
secondary
#E7DDAD
accent
#B70BDB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F6AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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