#4F47DB#4F47DB

#4F47DB is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.3% C 0.217 H 277.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4F47DB
RGBrgb(79, 71, 219)
HSLhsl(243, 67%, 57%)
HSVhsv(243, 68%, 86%)
CMYKcmyk(63.9%, 67.6%, 0%, 14.1%)
CIE-LABlab(40.05, 46.91, -74.50)
CIE-LCHlch(40.05, 88.04, 302.20°)
OKLaboklab(50.3% 0.0287 -0.2149)
OKLCHoklch(50.3% 0.217 277.6)
XYZxyz(18.2597, 11.2817, 68.2194)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47DB #D3DB47
analogous
#4789DB #4F47DB #9947DB
triadic
#4F47DB #DB4F47 #47DB4F
tetradic
#4F47DB #DB4789 #D3DB47 #47DB99
square
#4F47DB #DB4789 #D3DB47 #47DB99
split-complementary
#4F47DB #DB9947 #89DB47
monochromatic
#221B8C #2E25BF #4F47DB #807AE5 #B1ADEF

Accessibility & contrast

On white

6.45
#4F47DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4F47DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47DB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47DB#FFFFFF#000000##FFFFFF
##4F47DB1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0058D8
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f47db;
/* rgb */ color: rgb(79, 71, 219);
/* oklch */ color: oklch(50.3% 0.217 277.6);
Tailwind
colors: {
  custom: {
    50: '#907be7',
    500: '#4f47db',
    950: '#000000',
  },
}
SCSS
$custom: #4f47db;
$custom-light: #907be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47db",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 219
  },
  "hsl": {
    "h": 243.243,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50297,
    "c": 0.21684,
    "h": 277.6
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#4F47DB
secondary
#DADDA1
accent
#EA3EE1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F47DB

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

Preview Lab → · Contrast checker → · Palette generator →

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