#4F34DB#4F34DB

#4F34DB is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.7% C 0.236 H 280.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#4F34DB
RGBrgb(79, 52, 219)
HSLhsl(250, 70%, 53%)
HSVhsv(250, 76%, 86%)
CMYKcmyk(63.9%, 76.3%, 0%, 14.1%)
CIE-LABlab(36.43, 57.03, -80.46)
CIE-LCHlch(36.43, 98.62, 305.33°)
OKLaboklab(47.72% 0.0408 -0.2323)
OKLCHoklch(47.72% 0.236 280)
XYZxyz(17.2346, 9.2314, 67.8777)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F34DB #C0DB34
analogous
#346CDB #4F34DB #A334DB
triadic
#4F34DB #DB4F34 #34DB4F
tetradic
#4F34DB #DB346C #C0DB34 #34DBA3
square
#4F34DB #DB346C #C0DB34 #34DBA3
split-complementary
#4F34DB #DBA334 #6CDB34
monochromatic
#27167E #3720B2 #4F34DB #7C68E4 #A99CED

Accessibility & contrast

On white

7.38
#4F34DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4F34DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F34DB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F34DB#FFFFFF#000000##FFFFFF
##4F34DB1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE0
Deuteranopia (green-blind)
#004FD8
Tritanopia (blue-blind)
#006586
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f34db;
/* rgb */ color: rgb(79, 52, 219);
/* oklch */ color: oklch(47.7% 0.236 280.0);
Tailwind
colors: {
  custom: {
    50: '#9270e8',
    500: '#4f34db',
    950: '#000000',
  },
}
SCSS
$custom: #4f34db;
$custom-light: #9270e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f34db",
  "rgb": {
    "r": 79,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 249.701,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47721,
    "c": 0.23583,
    "h": 280
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#4F34DB
secondary
#CED991
accent
#ED3BD0
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0816
muted
#7E7B84

Preview Lab

Preview with #4F34DB

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

Preview Lab → · Contrast checker → · Palette generator →

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