#4F4BAF#4F4BAF

#4F4BAF is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.155 H 280.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4F4BAF
RGBrgb(79, 75, 175)
HSLhsl(242, 40%, 49%)
HSVhsv(242, 57%, 69%)
CMYKcmyk(54.9%, 57.1%, 0%, 31.4%)
CIE-LABlab(37.46, 30.29, -53.10)
CIE-LCHlch(37.46, 61.13, 299.70°)
OKLaboklab(47.31% 0.0282 -0.1521)
OKLCHoklch(47.31% 0.155 280.5)
XYZxyz(13.4760, 9.7887, 41.7284)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4BAF #ABAF4B
analogous
#4B79AF #4F4BAF #814BAF
triadic
#4F4BAF #AF4F4B #4BAF4F
tetradic
#4F4BAF #AF4B79 #ABAF4B #4BAF81
square
#4F4BAF #AF4B79 #ABAF4B #4BAF81
split-complementary
#4F4BAF #AF814B #79AF4B
monochromatic
#282659 #3C3984 #4F4BAF #7774C3 #A19FD6

Accessibility & contrast

On white

7.10
#4F4BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4F4BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4BAF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4BAF#FFFFFF#000000##FFFFFF
##4F4BAF1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#226275
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f4baf;
/* rgb */ color: rgb(79, 75, 175);
/* oklch */ color: oklch(47.3% 0.155 280.5);
Tailwind
colors: {
  custom: {
    50: '#887dc8',
    500: '#4f4baf',
    950: '#000000',
  },
}
SCSS
$custom: #4f4baf;
$custom-light: #887dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4baf",
  "rgb": {
    "r": 79,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 242.4,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47313,
    "c": 0.15467,
    "h": 280.5
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#4F4BAF
secondary
#C1C293
accent
#D058CB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4F4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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