#4F5FCF#4F5FCF

#4F5FCF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.172 H 273.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4F5FCF
RGBrgb(79, 95, 207)
HSLhsl(233, 57%, 56%)
HSVhsv(233, 62%, 81%)
CMYKcmyk(61.8%, 54.1%, 0%, 18.8%)
CIE-LABlab(44.73, 28.39, -59.99)
CIE-LCHlch(44.73, 66.37, 295.32°)
OKLaboklab(53.45% 0.0091 -0.1722)
OKLCHoklch(53.45% 0.172 273)
XYZxyz(18.5754, 14.3501, 60.8104)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FCF #CFBF4F
analogous
#4F9FCF #4F5FCF #7F4FCF
triadic
#4F5FCF #CF4F5F #5FCF4F
tetradic
#4F5FCF #CF4F9F #CFBF4F #4FCF7F
square
#4F5FCF #CF4F9F #CFBF4F #4FCF7F
split-complementary
#4F5FCF #CF7F4F #9FCF4F
monochromatic
#232F81 #3040B1 #4F5FCF #7F8BDC #AFB6E9

Accessibility & contrast

On white

5.43
#4F5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4F5FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FCF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FCF#FFFFFF#000000##FFFFFF
##4F5FCF1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E70D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5fcf;
/* rgb */ color: rgb(79, 95, 207);
/* oklch */ color: oklch(53.5% 0.172 273.0);
Tailwind
colors: {
  custom: {
    50: '#8d8cde',
    500: '#4f5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fcf;
$custom-light: #8d8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fcf",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 232.5,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53451,
    "c": 0.17243,
    "h": 273
  },
  "luminance": 0.14352
}

Semantic roles & 50–950 ramp

primary
#4F5FCF
secondary
#D7D1A2
accent
#CD47E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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