#4F6BD8#4F6BD8

#4F6BD8 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.4% C 0.170 H 269.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4F6BD8
RGBrgb(79, 107, 216)
HSLhsl(228, 64%, 58%)
HSVhsv(228, 63%, 85%)
CMYKcmyk(63.4%, 50.5%, 0%, 15.3%)
CIE-LABlab(48.43, 23.95, -59.16)
CIE-LCHlch(48.43, 63.83, 292.04°)
OKLaboklab(56.43% -0.0016 -0.1696)
OKLCHoklch(56.43% 0.17 269.5)
XYZxyz(20.8726, 17.1337, 67.1596)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6BD8 #D8BC4F
analogous
#4FB0D8 #4F6BD8 #774FD8
triadic
#4F6BD8 #D84F6B #6BD84F
tetradic
#4F6BD8 #D84FB0 #D8BC4F #4FD877
square
#4F6BD8 #D84FB0 #D8BC4F #4FD877
split-complementary
#4F6BD8 #D8774F #B0D84F
monochromatic
#1F368D #2A49BF #4F6BD8 #8195E3 #B3BFEE

Accessibility & contrast

On white

4.74
#4F6BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4F6BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6BD8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6BD8#FFFFFF#000000##FFFFFF
##4F6BD81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D79DC
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f6bd8;
/* rgb */ color: rgb(79, 107, 216);
/* oklch */ color: oklch(56.4% 0.170 269.5);
Tailwind
colors: {
  custom: {
    50: '#8d95e5',
    500: '#4f6bd8',
    950: '#000000',
  },
}
SCSS
$custom: #4f6bd8;
$custom-light: #8d95e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6bd8",
  "rgb": {
    "r": 79,
    "g": 107,
    "b": 216
  },
  "hsl": {
    "h": 227.737,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56429,
    "c": 0.16961,
    "h": 269.5
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#4F6BD8
secondary
#DDD2A6
accent
#C541E7
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F6BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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