#4F54DD#4F54DD

#4F54DD is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.6% C 0.204 H 275.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4F54DD
RGBrgb(79, 84, 221)
HSLhsl(238, 68%, 59%)
HSVhsv(238, 64%, 87%)
CMYKcmyk(64.3%, 62%, 0%, 13.3%)
CIE-LABlab(43.10, 39.88, -70.66)
CIE-LCHlch(43.10, 81.14, 299.44°)
OKLaboklab(52.56% 0.0186 -0.2036)
OKLCHoklch(52.56% 0.204 275.2)
XYZxyz(19.4416, 13.2217, 69.9201)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F54DD #DDD84F
analogous
#4F9BDD #4F54DD #914FDD
triadic
#4F54DD #DD4F54 #54DD4F
tetradic
#4F54DD #DD4F9B #DDD84F #4FDD91
square
#4F54DD #DD4F9B #DDD84F #4FDD91
split-complementary
#4F54DD #DD914F #9BDD4F
monochromatic
#1D2195 #272CC8 #4F54DD #8286E7 #B6B8F1

Accessibility & contrast

On white

5.76
#4F54DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4F54DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F54DD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F54DD#FFFFFF#000000##FFFFFF
##4F54DD1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f54dd;
/* rgb */ color: rgb(79, 84, 221);
/* oklch */ color: oklch(52.6% 0.204 275.2);
Tailwind
colors: {
  custom: {
    50: '#9084e9',
    500: '#4f54dd',
    950: '#000000',
  },
}
SCSS
$custom: #4f54dd;
$custom-light: #9084e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f54dd",
  "rgb": {
    "r": 79,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 237.887,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.20449,
    "h": 275.2
  },
  "luminance": 0.13223
}

Semantic roles & 50–950 ramp

primary
#4F54DD
secondary
#E0DEA8
accent
#E43DEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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