#4F4875#4F4875

#4F4875 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.9% C 0.074 H 290.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4F4875
RGBrgb(79, 72, 117)
HSLhsl(249, 24%, 37%)
HSVhsv(249, 38%, 46%)
CMYKcmyk(32.5%, 38.5%, 0%, 54.1%)
CIE-LABlab(33.09, 14.17, -24.77)
CIE-LCHlch(33.09, 28.53, 299.77°)
OKLaboklab(42.88% 0.0253 -0.0691)
OKLCHoklch(42.88% 0.074 290.1)
XYZxyz(8.7519, 7.5812, 17.8284)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4875 #6E7548
analogous
#485875 #4F4875 #664875
triadic
#4F4875 #754F48 #48754F
tetradic
#4F4875 #754858 #6E7548 #487566
square
#4F4875 #754858 #6E7548 #487566
split-complementary
#4F4875 #756648 #587548
monochromatic
#1C1929 #35314F #4F4875 #695F9B #8B84B3

Accessibility & contrast

On white

8.35
#4F4875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4F4875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F4875
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4875#FFFFFF#000000##FFFFFF
##4F48751.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F77
Deuteranopia (green-blind)
#3B4D74
Tritanopia (blue-blind)
#465059
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4f4875;
/* rgb */ color: rgb(79, 72, 117);
/* oklch */ color: oklch(42.9% 0.074 290.1);
Tailwind
colors: {
  custom: {
    50: '#827b9d',
    500: '#4f4875',
    950: '#000000',
  },
}
SCSS
$custom: #4f4875;
$custom-light: #827b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4875",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 249.333,
    "s": 23.81,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42875,
    "c": 0.07362,
    "h": 290.1
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#4F4875
secondary
#9AA079
accent
#C068B2
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #4F4875

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

Preview Lab → · Contrast checker → · Palette generator →

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