#4F4DAF#4F4DAF

#4F4DAF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.152 H 279.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4F4DAF
RGBrgb(79, 77, 175)
HSLhsl(241, 39%, 49%)
HSVhsv(241, 56%, 69%)
CMYKcmyk(54.9%, 56%, 0%, 31.4%)
CIE-LABlab(37.96, 29.03, -52.30)
CIE-LCHlch(37.96, 59.81, 299.04°)
OKLaboklab(47.68% 0.026 -0.1497)
OKLCHoklch(47.68% 0.152 279.9)
XYZxyz(13.6138, 10.0643, 41.7744)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DAF #ADAF4D
analogous
#4D7CAF #4F4DAF #804DAF
triadic
#4F4DAF #AF4F4D #4DAF4F
tetradic
#4F4DAF #AF4D7C #ADAF4D #4DAF80
square
#4F4DAF #AF4D7C #ADAF4D #4DAF80
split-complementary
#4F4DAF #AF804D #7CAF4D
monochromatic
#29285A #3C3A85 #4F4DAF #7876C3 #A2A1D6

Accessibility & contrast

On white

6.97
#4F4DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4F4DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4DAF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DAF#FFFFFF#000000##FFFFFF
##4F4DAF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075DB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#226476
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f4daf;
/* rgb */ color: rgb(79, 77, 175);
/* oklch */ color: oklch(47.7% 0.152 279.9);
Tailwind
colors: {
  custom: {
    50: '#887fc8',
    500: '#4f4daf',
    950: '#000000',
  },
}
SCSS
$custom: #4f4daf;
$custom-light: #887fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4daf",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 241.224,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47682,
    "c": 0.15195,
    "h": 279.9
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#4F4DAF
secondary
#C2C395
accent
#CF59CC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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