#4F5BCA#4F5BCA

#4F5BCA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.171 H 274.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4F5BCA
RGBrgb(79, 91, 202)
HSLhsl(234, 54%, 55%)
HSVhsv(234, 61%, 79%)
CMYKcmyk(60.9%, 55%, 0%, 20.8%)
CIE-LABlab(43.37, 29.20, -59.32)
CIE-LCHlch(43.37, 66.12, 296.21°)
OKLaboklab(52.32% 0.0126 -0.1703)
OKLCHoklch(52.32% 0.171 274.2)
XYZxyz(17.6227, 13.4073, 57.5249)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5BCA #CABE4F
analogous
#4F99CA #4F5BCA #804FCA
triadic
#4F5BCA #CA4F5B #5BCA4F
tetradic
#4F5BCA #CA4F99 #CABE4F #4FCA80
square
#4F5BCA #CA4F99 #CABE4F #4FCA80
split-complementary
#4F5BCA #CA804F #99CA4F
monochromatic
#252D7A #333EA9 #4F5BCA #7E87D8 #ADB3E6

Accessibility & contrast

On white

5.70
#4F5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4F5BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5BCA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5BCA#FFFFFF#000000##FFFFFF
##4F5BCA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036CCE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f5bca;
/* rgb */ color: rgb(79, 91, 202);
/* oklch */ color: oklch(52.3% 0.171 274.2);
Tailwind
colors: {
  custom: {
    50: '#8c89db',
    500: '#4f5bca',
    950: '#000000',
  },
}
SCSS
$custom: #4f5bca;
$custom-light: #8c89db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5bca",
  "rgb": {
    "r": 79,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 234.146,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52322,
    "c": 0.17072,
    "h": 274.2
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#4F5BCA
secondary
#D4CFA1
accent
#CF4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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