#4F6CEC#4F6CEC

#4F6CEC is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.1% C 0.195 H 269.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4F6CEC
RGBrgb(79, 108, 236)
HSLhsl(229, 81%, 62%)
HSVhsv(229, 67%, 93%)
CMYKcmyk(66.5%, 54.2%, 0%, 7.5%)
CIE-LABlab(50.03, 30.21, -67.86)
CIE-LCHlch(50.03, 74.28, 293.99°)
OKLaboklab(58.06% -0.001 -0.1952)
OKLCHoklch(58.06% 0.195 269.7)
XYZxyz(23.7222, 18.4413, 81.6500)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6CEC #ECCF4F
analogous
#4FBBEC #4F6CEC #814FEC
triadic
#4F6CEC #EC4F6C #6CEC4F
tetradic
#4F6CEC #EC4FBB #ECCF4F #4FEC81
square
#4F6CEC #EC4FBB #ECCF4F #4FEC81
split-complementary
#4F6CEC #EC814F #BBEC4F
monochromatic
#132FAE #193EE5 #4F6CEC #869AF2 #BDC8F8

Accessibility & contrast

On white

4.48
#4F6CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4F6CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F6CEC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6CEC#FFFFFF#000000##000000
##4F6CEC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4f6cec;
/* rgb */ color: rgb(79, 108, 236);
/* oklch */ color: oklch(58.1% 0.195 269.7);
Tailwind
colors: {
  custom: {
    50: '#9195f3',
    500: '#4f6cec',
    950: '#000000',
  },
}
SCSS
$custom: #4f6cec;
$custom-light: #9195f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6cec",
  "rgb": {
    "r": 79,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 228.917,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58062,
    "c": 0.19519,
    "h": 269.7
  },
  "luminance": 0.18444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F6CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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