#4F5CDA#4F5CDA

#4F5CDA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.191 H 273.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4F5CDA
RGBrgb(79, 92, 218)
HSLhsl(234, 65%, 58%)
HSVhsv(234, 64%, 85%)
CMYKcmyk(63.8%, 57.8%, 0%, 14.5%)
CIE-LABlab(44.77, 33.98, -66.22)
CIE-LCHlch(44.77, 74.43, 297.16°)
OKLaboklab(53.73% 0.0121 -0.1905)
OKLCHoklch(53.73% 0.191 273.6)
XYZxyz(19.7023, 14.3768, 68.0528)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CDA #DACD4F
analogous
#4FA2DA #4F5CDA #874FDA
triadic
#4F5CDA #DA4F5C #5CDA4F
tetradic
#4F5CDA #DA4FA2 #DACD4F #4FDA87
square
#4F5CDA #DA4FA2 #DACD4F #4FDA87
split-complementary
#4F5CDA #DA874F #A2DA4F
monochromatic
#1E2990 #2937C3 #4F5CDA #828BE5 #B4BAEF

Accessibility & contrast

On white

5.42
#4F5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4F5CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CDA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CDA#FFFFFF#000000##FFFFFF
##4F5CDA1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5cda;
/* rgb */ color: rgb(79, 92, 218);
/* oklch */ color: oklch(53.7% 0.191 273.6);
Tailwind
colors: {
  custom: {
    50: '#8f8ae6',
    500: '#4f5cda',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cda;
$custom-light: #8f8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cda",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 234.388,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53727,
    "c": 0.19093,
    "h": 273.6
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#4F5CDA
secondary
#DED9A7
accent
#D840E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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