#4F5BD2#4F5BD2

#4F5BD2 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.9% C 0.182 H 274.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4F5BD2
RGBrgb(79, 91, 210)
HSLhsl(235, 59%, 57%)
HSVhsv(235, 62%, 82%)
CMYKcmyk(62.4%, 56.7%, 0%, 17.6%)
CIE-LABlab(43.94, 31.90, -63.00)
CIE-LCHlch(43.94, 70.62, 296.86°)
OKLaboklab(52.93% 0.0129 -0.1811)
OKLCHoklch(52.93% 0.182 274.1)
XYZxyz(18.5946, 13.7960, 62.6433)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BD2 #D2C64F
analogous
#4F9DD2 #4F5BD2 #854FD2
triadic
#4F5BD2 #D24F5B #5BD24F
tetradic
#4F5BD2 #D24F9D #D2C64F #4FD285
square
#4F5BD2 #D24F9D #D2C64F #4FD285
split-complementary
#4F5BD2 #D2854F #9DD24F
monochromatic
#222B85 #2E3BB5 #4F5BD2 #8088DE #B0B6EB

Accessibility & contrast

On white

5.59
#4F5BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4F5BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BD2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BD2#FFFFFF#000000##FFFFFF
##4F5BD21.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#00788E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5bd2;
/* rgb */ color: rgb(79, 91, 210);
/* oklch */ color: oklch(52.9% 0.182 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d89e1',
    500: '#4f5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bd2;
$custom-light: #8d89e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bd2",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 234.504,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.18153,
    "h": 274.1
  },
  "luminance": 0.13798
}

Semantic roles & 50–950 ramp

primary
#4F5BD2
secondary
#D9D4A4
accent
#D445E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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