#4F5ABC#4F5ABC

#4F5ABC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.153 H 274.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4F5ABC
RGBrgb(79, 90, 188)
HSLhsl(234, 45%, 52%)
HSVhsv(234, 58%, 74%)
CMYKcmyk(58%, 52.1%, 0%, 26.3%)
CIE-LABlab(42.16, 25.12, -53.15)
CIE-LCHlch(42.16, 58.79, 295.30°)
OKLaboklab(51.11% 0.0129 -0.1521)
OKLCHoklch(51.11% 0.153 274.8)
XYZxyz(15.9548, 12.6043, 49.1593)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ABC #BCB14F
analogous
#4F91BC #4F5ABC #7B4FBC
triadic
#4F5ABC #BC4F5A #5ABC4F
tetradic
#4F5ABC #BC4F91 #BCB14F #4FBC7B
square
#4F5ABC #BC4F91 #BCB14F #4FBC7B
split-complementary
#4F5ABC #BC7B4F #91BC4F
monochromatic
#282E69 #394295 #4F5ABC #7B84CD #A8ADDE

Accessibility & contrast

On white

5.96
#4F5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4F5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ABC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ABC#FFFFFF#000000##FFFFFF
##4F5ABC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#017082
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f5abc;
/* rgb */ color: rgb(79, 90, 188);
/* oklch */ color: oklch(51.1% 0.153 274.8);
Tailwind
colors: {
  custom: {
    50: '#8a88d1',
    500: '#4f5abc',
    950: '#000000',
  },
}
SCSS
$custom: #4f5abc;
$custom-light: #8a88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5abc",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 233.945,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.15266,
    "h": 274.8
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#4F5ABC
secondary
#CBC69C
accent
#C853D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4F5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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