#4B38CB#4B38CB

#4B38CB is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.4% C 0.214 H 279.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#4B38CB
RGBrgb(75, 56, 203)
HSLhsl(248, 59%, 51%)
HSVhsv(248, 72%, 80%)
CMYKcmyk(63.1%, 72.4%, 0%, 20.4%)
CIE-LABlab(35.27, 49.75, -73.13)
CIE-LCHlch(35.27, 88.45, 304.23°)
OKLaboklab(46.36% 0.0366 -0.211)
OKLCHoklch(46.36% 0.214 279.8)
XYZxyz(15.0919, 8.6348, 57.3597)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38CB #B8CB38
analogous
#386ECB #4B38CB #9438CB
triadic
#4B38CB #CB4B38 #38CB4B
tetradic
#4B38CB #CB386E #B8CB38 #38CB94
square
#4B38CB #CB386E #B8CB38 #38CB94
split-complementary
#4B38CB #CB9438 #6ECB38
monochromatic
#271C6C #38299D #4B38CB #7769D8 #A399E4

Accessibility & contrast

On white

7.70
#4B38CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B38CB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38CB#FFFFFF#000000##FFFFFF
##4B38CB1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CF
Deuteranopia (green-blind)
#004DC8
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b38cb;
/* rgb */ color: rgb(75, 56, 203);
/* oklch */ color: oklch(46.4% 0.214 279.8);
Tailwind
colors: {
  custom: {
    50: '#8d71dc',
    500: '#4b38cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b38cb;
$custom-light: #8d71dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38cb",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 247.755,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.21416,
    "h": 279.8
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#4B38CB
secondary
#C8D08F
accent
#E246CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4B38CB

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

Preview Lab → · Contrast checker → · Palette generator →

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