#4F5ABA#4F5ABA

#4F5ABA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.150 H 274.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4F5ABA
RGBrgb(79, 90, 186)
HSLhsl(234, 44%, 52%)
HSVhsv(234, 58%, 73%)
CMYKcmyk(57.5%, 51.6%, 0%, 27.1%)
CIE-LABlab(42.03, 24.45, -52.20)
CIE-LCHlch(42.03, 57.64, 295.10°)
OKLaboklab(50.97% 0.0127 -0.1493)
OKLCHoklch(50.97% 0.15 274.9)
XYZxyz(15.7407, 12.5186, 48.0317)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ABA #BAAF4F
analogous
#4F8FBA #4F5ABA #7A4FBA
triadic
#4F5ABA #BA4F5A #5ABA4F
tetradic
#4F5ABA #BA4F8F #BAAF4F #4FBA7A
square
#4F5ABA #BA4F8F #BAAF4F #4FBA7A
split-complementary
#4F5ABA #BA7A4F #8FBA4F
monochromatic
#282F66 #394392 #4F5ABA #7B83CB #A7ACDC

Accessibility & contrast

On white

5.99
#4F5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4F5ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ABA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ABA#FFFFFF#000000##FFFFFF
##4F5ABA1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BD
Deuteranopia (green-blind)
#0F5FB8
Tritanopia (blue-blind)
#087081
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f5aba;
/* rgb */ color: rgb(79, 90, 186);
/* oklch */ color: oklch(51.0% 0.150 274.9);
Tailwind
colors: {
  custom: {
    50: '#8988cf',
    500: '#4f5aba',
    950: '#000000',
  },
}
SCSS
$custom: #4f5aba;
$custom-light: #8988cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5aba",
  "rgb": {
    "r": 79,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 233.832,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.14985,
    "h": 274.9
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#4F5ABA
secondary
#CAC59B
accent
#C654D3
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4F5ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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