#4F4BAB#4F4BAB

#4F4BAB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.149 H 280.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4F4BAB
RGBrgb(79, 75, 171)
HSLhsl(243, 39%, 48%)
HSVhsv(243, 56%, 67%)
CMYKcmyk(53.8%, 56.1%, 0%, 32.9%)
CIE-LABlab(37.18, 28.99, -51.18)
CIE-LCHlch(37.18, 58.82, 299.53°)
OKLaboklab(47.01% 0.0281 -0.1465)
OKLCHoklch(47.01% 0.149 280.9)
XYZxyz(13.0889, 9.6339, 39.6900)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BAB #A7AB4B
analogous
#4B77AB #4F4BAB #7F4BAB
triadic
#4F4BAB #AB4F4B #4BAB4F
tetradic
#4F4BAB #AB4B77 #A7AB4B #4BAB7F
square
#4F4BAB #AB4B77 #A7AB4B #4BAB7F
split-complementary
#4F4BAB #AB7F4B #77AB4B
monochromatic
#282656 #3B3880 #4F4BAB #7572C1 #9F9DD4

Accessibility & contrast

On white

7.17
#4F4BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4F4BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4BAB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4BAB#FFFFFF#000000##FFFFFF
##4F4BAB1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085BAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#276173
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f4bab;
/* rgb */ color: rgb(79, 75, 171);
/* oklch */ color: oklch(47.0% 0.149 280.9);
Tailwind
colors: {
  custom: {
    50: '#887dc5',
    500: '#4f4bab',
    950: '#000000',
  },
}
SCSS
$custom: #4f4bab;
$custom-light: #887dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4bab",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 171
  },
  "hsl": {
    "h": 242.5,
    "s": 39.024,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47013,
    "c": 0.14913,
    "h": 280.9
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#4F4BAB
secondary
#BEC091
accent
#CF59CA
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4F4BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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