#4F5FCA#4F5FCA

#4F5FCA is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.166 H 273.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4F5FCA
RGBrgb(79, 95, 202)
HSLhsl(232, 54%, 55%)
HSVhsv(232, 61%, 79%)
CMYKcmyk(60.9%, 53%, 0%, 20.8%)
CIE-LABlab(44.39, 26.69, -57.67)
CIE-LCHlch(44.39, 63.55, 294.84°)
OKLaboklab(53.09% 0.0088 -0.1654)
OKLCHoklch(53.09% 0.166 273)
XYZxyz(17.9738, 14.1095, 57.6419)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FCA #CABA4F
analogous
#4F9DCA #4F5FCA #7C4FCA
triadic
#4F5FCA #CA4F5F #5FCA4F
tetradic
#4F5FCA #CA4F9D #CABA4F #4FCA7C
square
#4F5FCA #CA4F9D #CABA4F #4FCA7C
split-complementary
#4F5FCA #CA7C4F #9DCA4F
monochromatic
#25307A #3342A9 #4F5FCA #7E8AD8 #ADB5E6

Accessibility & contrast

On white

5.49
#4F5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4F5FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FCA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FCA#FFFFFF#000000##FFFFFF
##4F5FCA1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f5fca;
/* rgb */ color: rgb(79, 95, 202);
/* oklch */ color: oklch(53.1% 0.166 273.0);
Tailwind
colors: {
  custom: {
    50: '#8c8cdb',
    500: '#4f5fca',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fca;
$custom-light: #8c8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fca",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 232.195,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53086,
    "c": 0.16559,
    "h": 273
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#4F5FCA
secondary
#D4CDA1
accent
#CA4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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