#4F5FDA#4F5FDA

#4F5FDA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.3% C 0.187 H 272.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F5FDA
RGBrgb(79, 95, 218)
HSLhsl(233, 65%, 58%)
HSVhsv(233, 64%, 85%)
CMYKcmyk(63.8%, 56.4%, 0%, 14.5%)
CIE-LABlab(45.51, 32.12, -65.03)
CIE-LCHlch(45.51, 72.53, 296.29°)
OKLaboklab(54.28% 0.0095 -0.187)
OKLCHoklch(54.28% 0.187 272.9)
XYZxyz(19.9673, 14.9069, 68.1411)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5FDA #DACA4F
analogous
#4FA4DA #4F5FDA #854FDA
triadic
#4F5FDA #DA4F5F #5FDA4F
tetradic
#4F5FDA #DA4FA4 #DACA4F #4FDA85
square
#4F5FDA #DA4FA4 #DACA4F #4FDA85
split-complementary
#4F5FDA #DA854F #A4DA4F
monochromatic
#1E2B90 #293BC3 #4F5FDA #828DE5 #B4BBEF

Accessibility & contrast

On white

5.27
#4F5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4F5FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5FDA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5FDA#FFFFFF#000000##FFFFFF
##4F5FDA1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5fda;
/* rgb */ color: rgb(79, 95, 218);
/* oklch */ color: oklch(54.3% 0.187 272.9);
Tailwind
colors: {
  custom: {
    50: '#8e8ce6',
    500: '#4f5fda',
    950: '#000000',
  },
}
SCSS
$custom: #4f5fda;
$custom-light: #8e8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5fda",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 233.094,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.18724,
    "h": 272.9
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#4F5FDA
secondary
#DED8A7
accent
#D540E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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