#4F38CA#4F38CA

#4F38CA is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.6% C 0.212 H 281.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4F38CA
RGBrgb(79, 56, 202)
HSLhsl(249, 58%, 51%)
HSVhsv(249, 72%, 79%)
CMYKcmyk(60.9%, 72.3%, 0%, 20.8%)
CIE-LABlab(35.51, 49.96, -72.15)
CIE-LCHlch(35.51, 87.76, 304.70°)
OKLaboklab(46.58% 0.0422 -0.208)
OKLCHoklch(46.58% 0.212 281.5)
XYZxyz(15.2959, 8.7538, 56.7493)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38CA #B3CA38
analogous
#386ACA #4F38CA #9838CA
triadic
#4F38CA #CA4F38 #38CA4F
tetradic
#4F38CA #CA386A #B3CA38 #38CA98
square
#4F38CA #CA386A #B3CA38 #38CA98
split-complementary
#4F38CA #CA9838 #6ACA38
monochromatic
#291D6B #3B299B #4F38CA #7A68D7 #A499E4

Accessibility & contrast

On white

7.63
#4F38CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4F38CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38CA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38CA#FFFFFF#000000##FFFFFF
##4F38CA1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f38ca;
/* rgb */ color: rgb(79, 56, 202);
/* oklch */ color: oklch(46.6% 0.212 281.5);
Tailwind
colors: {
  custom: {
    50: '#8e71db',
    500: '#4f38ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f38ca;
$custom-light: #8e71db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38ca",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 249.452,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4658,
    "c": 0.21228,
    "h": 281.5
  },
  "luminance": 0.08755
}

Semantic roles & 50–950 ramp

primary
#4F38CA
secondary
#C5CF8E
accent
#E147C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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