#4F5CCB#4F5CCB

#4F5CCB is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.171 H 273.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4F5CCB
RGBrgb(79, 92, 203)
HSLhsl(234, 54%, 55%)
HSVhsv(234, 61%, 80%)
CMYKcmyk(61.1%, 54.7%, 0%, 20.4%)
CIE-LABlab(43.69, 28.91, -59.37)
CIE-LCHlch(43.69, 66.04, 295.97°)
OKLaboklab(52.59% 0.0117 -0.1704)
OKLCHoklch(52.59% 0.171 273.9)
XYZxyz(17.8275, 13.6269, 58.1791)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CCB #CBBE4F
analogous
#4F9ACB #4F5CCB #804FCB
triadic
#4F5CCB #CB4F5C #5CCB4F
tetradic
#4F5CCB #CB4F9A #CBBE4F #4FCB80
square
#4F5CCB #CB4F9A #CBBE4F #4FCB80
split-complementary
#4F5CCB #CB804F #9ACB4F
monochromatic
#242D7B #323FAA #4F5CCB #7E88D9 #ADB4E7

Accessibility & contrast

On white

5.64
#4F5CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4F5CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CCB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CCB#FFFFFF#000000##FFFFFF
##4F5CCB1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076DCF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f5ccb;
/* rgb */ color: rgb(79, 92, 203);
/* oklch */ color: oklch(52.6% 0.171 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c8adc',
    500: '#4f5ccb',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ccb;
$custom-light: #8c8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ccb",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 233.71,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52585,
    "c": 0.1708,
    "h": 273.9
  },
  "luminance": 0.13628
}

Semantic roles & 50–950 ramp

primary
#4F5CCB
secondary
#D5CFA1
accent
#CE4ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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