#4F487B#4F487B

#4F487B is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.2% C 0.083 H 288.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#4F487B
RGBrgb(79, 72, 123)
HSLhsl(248, 26%, 38%)
HSVhsv(248, 41%, 48%)
CMYKcmyk(35.8%, 41.5%, 0%, 51.8%)
CIE-LABlab(33.41, 15.91, -28.02)
CIE-LCHlch(33.41, 32.22, 299.59°)
OKLaboklab(43.22% 0.0266 -0.0786)
OKLCHoklch(43.22% 0.083 288.7)
XYZxyz(9.1160, 7.7268, 19.7462)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F487B #747B48
analogous
#485A7B #4F487B #68487B
triadic
#4F487B #7B4F48 #487B4F
tetradic
#4F487B #7B485A #747B48 #487B68
square
#4F487B #7B485A #747B48 #487B68
split-complementary
#4F487B #7B6848 #5A7B48
monochromatic
#1D1B2E #363154 #4F487B #685FA1 #8C86B8

Accessibility & contrast

On white

8.25
#4F487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4F487B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F487B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F487B#FFFFFF#000000##FFFFFF
##4F487B1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#384D7A
Tritanopia (blue-blind)
#44525B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4f487b;
/* rgb */ color: rgb(79, 72, 123);
/* oklch */ color: oklch(43.2% 0.083 288.7);
Tailwind
colors: {
  custom: {
    50: '#827ba1',
    500: '#4f487b',
    950: '#000000',
  },
}
SCSS
$custom: #4f487b;
$custom-light: #827ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f487b",
  "rgb": {
    "r": 79,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 248.235,
    "s": 26.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43216,
    "c": 0.08297,
    "h": 288.7
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#4F487B
secondary
#9EA47B
accent
#C365B6
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0A090F
muted
#7C7B7E

Preview Lab

Preview with #4F487B

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

Preview Lab → · Contrast checker → · Palette generator →

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