#4F38CF#4F38CF

#4F38CF is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.1% C 0.218 H 280.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#4F38CF
RGBrgb(79, 56, 207)
HSLhsl(249, 61%, 52%)
HSVhsv(249, 73%, 81%)
CMYKcmyk(61.8%, 72.9%, 0%, 18.8%)
CIE-LABlab(35.97, 51.46, -74.28)
CIE-LCHlch(35.97, 90.37, 304.71°)
OKLaboklab(47.05% 0.0412 -0.2143)
OKLCHoklch(47.05% 0.218 280.9)
XYZxyz(15.8976, 8.9944, 59.9177)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38CF #B8CF38
analogous
#386DCF #4F38CF #9B38CF
triadic
#4F38CF #CF4F38 #38CF4F
tetradic
#4F38CF #CF386D #B8CF38 #38CF9B
square
#4F38CF #CF386D #B8CF38 #38CF9B
split-complementary
#4F38CF #CF9B38 #6DCF38
monochromatic
#281B71 #3A27A3 #4F38CF #7B69DB #A69BE7

Accessibility & contrast

On white

7.50
#4F38CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#4F38CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38CF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38CF#FFFFFF#000000##FFFFFF
##4F38CF1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#004FCC
Tritanopia (blue-blind)
#006280
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4f38cf;
/* rgb */ color: rgb(79, 56, 207);
/* oklch */ color: oklch(47.1% 0.218 280.9);
Tailwind
colors: {
  custom: {
    50: '#8f71df',
    500: '#4f38cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f38cf;
$custom-light: #8f71df;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38cf",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 249.139,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47053,
    "c": 0.21819,
    "h": 280.9
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#4F38CF
secondary
#C8D390
accent
#E444CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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