#4F5ACA#4F5ACA

#4F5ACA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.172 H 274.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4F5ACA
RGBrgb(79, 90, 202)
HSLhsl(235, 54%, 55%)
HSVhsv(235, 61%, 79%)
CMYKcmyk(60.9%, 55.4%, 0%, 20.8%)
CIE-LABlab(43.12, 29.83, -59.73)
CIE-LCHlch(43.12, 66.76, 296.54°)
OKLaboklab(52.13% 0.0136 -0.1715)
OKLCHoklch(52.13% 0.172 274.5)
XYZxyz(17.5378, 13.2375, 57.4966)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ACA #CABF4F
analogous
#4F98CA #4F5ACA #814FCA
triadic
#4F5ACA #CA4F5A #5ACA4F
tetradic
#4F5ACA #CA4F98 #CABF4F #4FCA81
square
#4F5ACA #CA4F98 #CABF4F #4FCA81
split-complementary
#4F5ACA #CA814F #98CA4F
monochromatic
#252C7A #333DA9 #4F5ACA #7E86D8 #ADB2E6

Accessibility & contrast

On white

5.76
#4F5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4F5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ACA
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ACA#FFFFFF#000000##FFFFFF
##4F5ACA1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f5aca;
/* rgb */ color: rgb(79, 90, 202);
/* oklch */ color: oklch(52.1% 0.172 274.5);
Tailwind
colors: {
  custom: {
    50: '#8c88db',
    500: '#4f5aca',
    950: '#000000',
  },
}
SCSS
$custom: #4f5aca;
$custom-light: #8c88db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5aca",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 234.634,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52134,
    "c": 0.172,
    "h": 274.5
  },
  "luminance": 0.13239
}

Semantic roles & 50–950 ramp

primary
#4F5ACA
secondary
#D4D0A1
accent
#D04BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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