#4F6DEC#4F6DEC

#4F6DEC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.194 H 269.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4F6DEC
RGBrgb(79, 109, 236)
HSLhsl(229, 81%, 62%)
HSVhsv(229, 67%, 93%)
CMYKcmyk(66.5%, 53.8%, 0%, 7.5%)
CIE-LABlab(50.28, 29.59, -67.45)
CIE-LCHlch(50.28, 73.66, 293.68°)
OKLaboklab(58.25% -0.0018 -0.194)
OKLCHoklch(58.25% 0.194 269.5)
XYZxyz(23.8282, 18.6534, 81.6853)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6DEC #ECCE4F
analogous
#4FBCEC #4F6DEC #804FEC
triadic
#4F6DEC #EC4F6D #6DEC4F
tetradic
#4F6DEC #EC4FBC #ECCE4F #4FEC80
square
#4F6DEC #EC4FBC #ECCE4F #4FEC80
split-complementary
#4F6DEC #EC804F #BCEC4F
monochromatic
#1330AE #1940E5 #4F6DEC #869BF2 #BDC9F8

Accessibility & contrast

On white

4.44
#4F6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4F6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F6DEC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6DEC#FFFFFF#000000##000000
##4F6DEC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#037FF0
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#008BA2
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f6dec;
/* rgb */ color: rgb(79, 109, 236);
/* oklch */ color: oklch(58.3% 0.194 269.5);
Tailwind
colors: {
  custom: {
    50: '#9196f3',
    500: '#4f6dec',
    950: '#000000',
  },
}
SCSS
$custom: #4f6dec;
$custom-light: #9196f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6dec",
  "rgb": {
    "r": 79,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 228.535,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58252,
    "c": 0.19398,
    "h": 269.5
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#4F6DEC
secondary
#E8DDAE
accent
#B409DD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4F6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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