#4F4BAC#4F4BAC

#4F4BAC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.151 H 280.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4F4BAC
RGBrgb(79, 75, 172)
HSLhsl(242, 39%, 48%)
HSVhsv(242, 56%, 67%)
CMYKcmyk(54.1%, 56.4%, 0%, 32.5%)
CIE-LABlab(37.25, 29.31, -51.66)
CIE-LCHlch(37.25, 59.40, 299.57°)
OKLaboklab(47.09% 0.0281 -0.1479)
OKLCHoklch(47.09% 0.151 280.8)
XYZxyz(13.1846, 9.6722, 40.1939)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BAC #A8AC4B
analogous
#4B77AC #4F4BAC #7F4BAC
triadic
#4F4BAC #AC4F4B #4BAC4F
tetradic
#4F4BAC #AC4B77 #A8AC4B #4BAC7F
square
#4F4BAC #AC4B77 #A8AC4B #4BAC7F
split-complementary
#4F4BAC #AC7F4B #77AC4B
monochromatic
#282657 #3B3881 #4F4BAC #7672C2 #9F9DD4

Accessibility & contrast

On white

7.16
#4F4BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F4BAC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4BAC#FFFFFF#000000##FFFFFF
##4F4BAC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055BAF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#266174
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f4bac;
/* rgb */ color: rgb(79, 75, 172);
/* oklch */ color: oklch(47.1% 0.151 280.8);
Tailwind
colors: {
  custom: {
    50: '#887dc5',
    500: '#4f4bac',
    950: '#000000',
  },
}
SCSS
$custom: #4f4bac;
$custom-light: #887dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4bac",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 242.474,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.15052,
    "h": 280.8
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F4BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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