#4F5BC8#4F5BC8

#4F5BC8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.168 H 274.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4F5BC8
RGBrgb(79, 91, 200)
HSLhsl(234, 52%, 55%)
HSVhsv(234, 61%, 78%)
CMYKcmyk(60.5%, 54.5%, 0%, 21.6%)
CIE-LABlab(43.23, 28.53, -58.39)
CIE-LCHlch(43.23, 64.99, 296.04°)
OKLaboklab(52.17% 0.0126 -0.1675)
OKLCHoklch(52.17% 0.168 274.3)
XYZxyz(17.3874, 13.3132, 56.2858)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BC8 #C8BC4F
analogous
#4F97C8 #4F5BC8 #804FC8
triadic
#4F5BC8 #C84F5B #5BC84F
tetradic
#4F5BC8 #C84F97 #C8BC4F #4FC880
square
#4F5BC8 #C84F97 #C8BC4F #4FC880
split-complementary
#4F5BC8 #C8804F #97C84F
monochromatic
#252D77 #343FA6 #4F5BC8 #7E86D7 #ACB2E5

Accessibility & contrast

On white

5.73
#4F5BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4F5BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BC8
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BC8#FFFFFF#000000##FFFFFF
##4F5BC81.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6CCC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f5bc8;
/* rgb */ color: rgb(79, 91, 200);
/* oklch */ color: oklch(52.2% 0.168 274.3);
Tailwind
colors: {
  custom: {
    50: '#8c89d9',
    500: '#4f5bc8',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bc8;
$custom-light: #8c89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bc8",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 200
  },
  "hsl": {
    "h": 234.05,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.16798,
    "h": 274.3
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#4F5BC8
secondary
#D3CEA0
accent
#CE4CDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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