#4F489F#4F489F

#4F489F is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.136 H 283.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4F489F
RGBrgb(79, 72, 159)
HSLhsl(245, 38%, 45%)
HSVhsv(245, 55%, 62%)
CMYKcmyk(50.3%, 54.7%, 0%, 37.6%)
CIE-LABlab(35.60, 27.02, -46.56)
CIE-LCHlch(35.60, 53.83, 300.13°)
OKLaboklab(45.57% 0.0311 -0.1329)
OKLCHoklch(45.57% 0.136 283.2)
XYZxyz(11.7979, 8.7996, 33.8710)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F489F #989F48
analogous
#486C9F #4F489F #7B489F
triadic
#4F489F #9F4F48 #489F4F
tetradic
#4F489F #9F486C #989F48 #489F7B
square
#4F489F #9F486C #989F48 #489F7B
split-complementary
#4F489F #9F7B48 #6C9F48
monochromatic
#25224B #3A3575 #4F489F #7069BB #9893CE

Accessibility & contrast

On white

7.61
#4F489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4F489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F489F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F489F#FFFFFF#000000##FFFFFF
##4F489F1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1857A2
Deuteranopia (green-blind)
#11519D
Tritanopia (blue-blind)
#315B6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f489f;
/* rgb */ color: rgb(79, 72, 159);
/* oklch */ color: oklch(45.6% 0.136 283.2);
Tailwind
colors: {
  custom: {
    50: '#867bbc',
    500: '#4f489f',
    950: '#000000',
  },
}
SCSS
$custom: #4f489f;
$custom-light: #867bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f489f",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 244.828,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.13646,
    "h": 283.2
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#4F489F
secondary
#B6BA89
accent
#CE5AC4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4F489F

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

Preview Lab → · Contrast checker → · Palette generator →

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