#4F38C8#4F38C8

#4F38C8 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.210 H 281.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#4F38C8
RGBrgb(79, 56, 200)
HSLhsl(250, 57%, 50%)
HSVhsv(250, 72%, 78%)
CMYKcmyk(60.5%, 72%, 0%, 21.6%)
CIE-LABlab(35.32, 49.36, -71.29)
CIE-LCHlch(35.32, 86.71, 304.70°)
OKLaboklab(46.39% 0.0427 -0.2055)
OKLCHoklch(46.39% 0.21 281.7)
XYZxyz(15.0607, 8.6597, 55.5102)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F38C8 #B1C838
analogous
#3869C8 #4F38C8 #9738C8
triadic
#4F38C8 #C84F38 #38C84F
tetradic
#4F38C8 #C83869 #B1C838 #38C897
square
#4F38C8 #C83869 #B1C838 #38C897
split-complementary
#4F38C8 #C89738 #69C838
monochromatic
#291D69 #3C2A99 #4F38C8 #7968D5 #A498E3

Accessibility & contrast

On white

7.69
#4F38C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4F38C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F38C8
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F38C8#FFFFFF#000000##FFFFFF
##4F38C81.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#004EC5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4f38c8;
/* rgb */ color: rgb(79, 56, 200);
/* oklch */ color: oklch(46.4% 0.210 281.7);
Tailwind
colors: {
  custom: {
    50: '#8e71da',
    500: '#4f38c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f38c8;
$custom-light: #8e71da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f38c8",
  "rgb": {
    "r": 79,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 249.583,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46392,
    "c": 0.2099,
    "h": 281.7
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#4F38C8
secondary
#C4CE8E
accent
#E048C8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4F38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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